Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Filter the order statuses used in the Unclaimed Orders table
* @url
* @param $statuses array
* @return array
function acme_unclaimed_orders_status_array( $statuses ) {
$statuses = array( 'processing', 'another', 'example' );
return $statuses;
add_filter( 'ddwc_pro_driver_dashboard_unclaimed_orders_status_array', 'acme_unclaimed_orders_status_array', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment