Search Documentation

WP Travel Developer Documentation

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

Filter :wp_travel_booking_status_list

WP Travel booking status list.

Active Since v1.0.5

Source

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

Parameters
$status

Example:

function prefix_wp_travel_booking_status_list( $status ) {
    $status[‘processing’] = array(
    'color' => '#FF9800,
    'text' => __( 'Under Processing',
    'wp-travel' ),
    ),
    return $status;
}
add_filter( 'wp_travel_booking_status_list', 'prefix_wp_travel_booking_status_list' );
Was this article helpful to you? Yes No

How can we help?