wc_get_webhook_statuses()WC 2.3.0

Get Webhook statuses.

Hooks from the function

Return

Array.

Usage

wc_get_webhook_statuses();

Changelog

Since 2.3.0 Introduced.

wc_get_webhook_statuses() code WC 8.7.0

function wc_get_webhook_statuses() {
	return apply_filters(
		'woocommerce_webhook_statuses',
		array(
			'active'   => __( 'Active', 'woocommerce' ),
			'paused'   => __( 'Paused', 'woocommerce' ),
			'disabled' => __( 'Disabled', 'woocommerce' ),
		)
	);
}