1. Home
  2. Documentations
  3. Developer Documentation
  4. Filters
  5. wp_travel_default_view_mode

wp_travel_default_view_mode

Filter Hook:

wp_travel_default_view_mode

Description: This filter hook is used to change the layout of the itineraries listing page i.e. archive page.

Example:

add_filter( 'wp_travel_default_view_mode', 'default_view_mode' );

function default_view_mode( $view_mode ) {
	
	return 'grid';
}

How can we help?