| 开发者 | webhelpagency |
|---|---|
| 更新时间 | 2026年9月28日 14:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/tours/, single tours at /tour/<slug>/), with title, editor, excerpt, featured image and revisions, available in the block editor and the REST API.wp wha-tours demo import), which fills a fresh site with a sample catalogue: four categories, four seasons, eleven countries, twelve tours with CC0 photographs, four pages, two menus, the Customizer settings of the WHA Tour Poster theme and the Reading settings. It never overwrites existing content and creates no duplicates when it is run twice.[wha_tours_lead_form] shortcode and as the Lead form block. Submissions are checked against a nonce, a honeypot field and a one-minute-per-IP rate limit, emailed to the site administrator and stored as private Leads entries in the admin.wha_tours_core_get_meta(), wha_tours_core_get_tours(), wha_tours_core_get_term_image_id(), wha_tours_core_next_date(), wha_tours_core_format_dates(), wha_tours_core_transport_label(), wha_tours_core_transport_icon(), wha_tours_core_category_color() and wha_tours_core_price_label().
wha-tours-core folder to /wp-content/plugins/, or install the plugin through the Plugins screen.wp wha-tours demo import.[wha_tours_lead_form] shortcode on your contact page.Each request is emailed to the address in Settings → General (filterable with wha_tours_core_lead_recipient) and stored as a private entry under Tours → Leads, visible to administrators only.
No. Uninstalling removes only the options and transients created by the plugin. Tours, terms, tour meta and stored leads are kept.
Nothing that exists. Every tour, term, page and image it creates is tagged with the _wha_tours_core_demo meta key and skipped on the next run. Menus are only created for theme locations that have no menu yet, Customizer settings are only written when the WHA Tour Poster theme is active and the setting is still empty, and the Reading settings are only changed while the front page still shows the latest posts.
wha_tours_core_get_tours_args filters the query arguments, wha_tours_core_lead_recipient filters the notification address and wha_tours_core_lead_submitted fires after a request was stored.