Search Documentation

WP Travel Developer Documentation

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

Filter :wp_travel_premium_addons_list

WP Travel Premium addons list.

Source

File: /core/helpers/license.php
Used by: /core/helpers/license.php, /inc/license/wp-travel-license.php

Parameters
$premium_addons

Example:

function prefix_wp_travel_premium_addons_list( $premium_adddons ) {
    $premium_addons[‘wp_travel_downloads’] = ‘WP Travel Downloads’;
    return $premium_addons;
}
add_filter( 'wp_travel_premium_addons_list', 'prefix_wp_travel_premium_addons_list' );
Was this article helpful to you? Yes No

How can we help?