Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Tour Extras
  5. Filter :wp_travel_extras_is_pro_enabled

Filter :wp_travel_extras_is_pro_enabled

WP Travel Pro is enabled or not filter.

Source

File: /inc/admin/admin-helper.php
Used by: /inc/admin/admin-helper.php

Parameters
Default is false.

Example:

function prefix_wp_travel_extras_is_pro_enabled() {
    return true;
}
add_filter( 'wp_travel_extras_is_pro_enabled', 'prefix_wp_travel_extras_is_pro_enabled' );
Was this article helpful to you? Yes No

How can we help?