woocommerce_webhook_disabled_due_delivery_failures, $this->get_id(

woocommerce_webhook_disabled_due_delivery_failures, $this->get_id(

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_webhook_disabled_due_delivery_failures, $this->get_id(') is found 1 times:

  • /includes/class-wc-webhook.php line 583
     
    		if ( $failures > apply_filters( 'woocommerce_max_webhook_delivery_failures', 5 ) ) {
    			$this->set_status( 'disabled' );
    
    			do_action( 'woocommerce_webhook_disabled_due_delivery_failures', $this->get_id() );
    		} else {
    			$this->set_failure_count( ++$failures );
    		}
    
    		if ( 0 !== $this->get_id() ) {
    			$this->save();