Filters Associated With Template

Filter: wp_travel_template_path #

WP Travel template path filter.

Source

File: /inc/template-functions.php
Used by: /inc/template-functions.php

Parameters
Default is ‘/wp-travel/’.

Example:

function prefix_wp_travel_template_path() {
 return ‘/custom-path/’;
}
add_filter( 'wp_travel_template_path', 'prefix_wp_travel_template_path' );

Filter: wp_travel_template_group_size_text #

WP Travel group size text frontend.

Source

File: /inc/template-functions.php
Used by: /inc/template-functions.php

Parameters
Default is ‘__( ‘Group size’, ‘wp-travel’ )’.

Example:

function prefix_wp_travel_template_group_size_text() {
    return ‘__( 'Total Group size', 'wp-travel' ) ’;
}
add_filter( 'wp_travel_template_group_size_text', 'prefix_wp_travel_template_group_size_text' );