Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Single Itinerary Page
  5. Filter :wp_travel_related_itineraries_col_per_row

Filter :wp_travel_related_itineraries_col_per_row

WP Travel related trips column per row.

Source

File: /templates/content-related-posts.php
Used by: /templates/content-related-posts.php

Parameters
Default is 3.

Example:

function prefix_wp_travel_related_itineraries_col_per_row() {
    return 4;
}
add_filter( 'wp_travel_related_itineraries_col_per_row', 'prefix_wp_travel_related_itineraries_col_per_row' );
Was this article helpful to you? Yes No

How can we help?