This hook is an alternative to the ‘wp_travel_before_single_itinerary’ hook which allows you to add your custom text above the featured image in single trip page.
Source
File : /templates/content-single-itineraries.php
Used by |
/templates/content-single-itineraries.php |
Example :
function prefix_wp_travel_before_content_start() { esc_html_e( 'This is the content added using this hook', 'text-domain' ); } add_action( 'wp_travel_before_content_start', 'prefix_wp_travel_before_content_start' );