woocommerce_max_webhook_delivery_failures filter-hookWC 1.0

Usage

add_filter( 'woocommerce_max_webhook_delivery_failures', 'wp_kama_woocommerce_max_webhook_delivery_failures_filter' );

/**
 * Function for `woocommerce_max_webhook_delivery_failures` filter-hook.
 * 
 * @param  $5 
 *
 * @return 
 */
function wp_kama_woocommerce_max_webhook_delivery_failures_filter( $5 ){

	// filter...
	return $5;
}
$5
-

Where the hook is called

WC_Webhook::failed_delivery()
woocommerce_max_webhook_delivery_failures
woocommerce/includes/class-wc-webhook.php 594
if ( $failures > apply_filters( 'woocommerce_max_webhook_delivery_failures', 5 ) ) {

Where the hook is used in WooCommerce

Usage not found.