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.9.8.1

apply_filters('wc_order_statuses') is found 1 times:

  • /includes/wc-order-functions.php line 110
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
            OrderInternalStatus::CANCELLED  => _x( 'Cancelled', 'Order status', 'woocommerce' ),
            OrderInternalStatus::REFUNDED   => _x( 'Refunded', 'Order status', 'woocommerce' ),
            OrderInternalStatus::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: