wc_order_statuses

wc_order_statuses

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('wc_order_statuses') is found 1 times:

  • /includes/wc-order-functions.php line 106
    		'wc-cancelled'  => _x( 'Cancelled', 'Order status', 'woocommerce' ),
    		'wc-refunded'   => _x( 'Refunded', 'Order status', 'woocommerce' ),
    		'wc-failed'     => _x( 'Failed', 'Order status', 'woocommerce' ),
    	);
    	return apply_filters( 'wc_order_statuses', $order_statuses );
    }
    
    /**
     * See if a string is an order status.
     *
     * @param  string $maybe_status Status, including any wc- prefix.
    

See this hook used in plugins: