wc_get_webhook_statuses()
Get Webhook statuses.
Hooks from the function
Returns
Array.
Usage
wc_get_webhook_statuses();
Changelog
| Since 2.3.0 | Introduced. |
wc_get_webhook_statuses() wc get webhook statuses code WC 10.3.6
function wc_get_webhook_statuses() {
return apply_filters(
'woocommerce_webhook_statuses',
array(
'active' => __( 'Active', 'woocommerce' ),
'paused' => __( 'Paused', 'woocommerce' ),
'disabled' => __( 'Disabled', 'woocommerce' ),
)
);
}