Located at pro/includes/booking-status.php
Get a list of all registered booking status objects.
You can optionally provide conditions to filter by with
$output allows to toggle whether names
or objects (default) are returned.
Return a list of status names which are to be included in the 'All' filter on the booings admin page.
$statues_in_list = eo_get_booking_statuses( array( 'show_in_admin_all_list' => true ), 'names', 'and' ) )
||An array of key => value arguments to match against the booking status objects.|
||The type of output to return, either 'names' or 'objects'. 'objects' is the default.|
||The logical operation to perform. 'or' means only one element from the array needs to match; 'and' means all elements must match. The default is 'and'.|
Return value summary
||A list of booking status names or objects|