Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Inventory
  5. Filter :wp_travel_inventory_enable_status_column

Filter :wp_travel_inventory_enable_status_column

Inventory enables status.

Source

File: /inc/template-functions.php
Used by: /inc/template-functions.php

Parameters
Default is false, $trip_id.

Example:

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

How can we help?