Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters
  5. Filter :wp_travel_stat_default_query_limit

Filter :wp_travel_stat_default_query_limit

Filter for query limits on getting booking data.

Active Since v1.0.5

Source

File: /inc/helpers/helpers-stat.php
Used by: /inc/helpers/helpers-stat.php

Parameters
Default is 10.

Example:

function prefix_wp_travel_stat_default_query_limit() {
    return 8;
}
add_filter( 'wp_travel_stat_default_query_limit', 'prefix_wp_travel_stat_default_query_limit' );
Was this article helpful to you? Yes No

How can we help?