Nunca desactivar Webhook en Wordpress

PHOTO EMBED

Mon Jul 05 2021 16:02:04 GMT+0000 (UTC)

Saved by @tophercris_ #webhook #wordpress

function overrule_webhook_disable_limit( $number ) {

    return 999999999999; //very high number hopefully you'll never reach.

}

add_filter( 'woocommerce_max_webhook_delivery_failures', 'overrule_webhook_disable_limit' );
content_copyCOPY

Impide que un Webhook que no recibe respuesta del servidor, se desactive.