WP Simple Pay: Disable Webhook Failed Notification
/** * @link https://library.wpcode.com/snippet/m5yr6jod/ */ add_filter( ‘simpay_webhooks_check_received_events’, ‘__return_false’ );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
/** * @link https://library.wpcode.com/snippet/m5yr6jod/ */ add_filter( ‘simpay_webhooks_check_received_events’, ‘__return_false’ );Continue reading
/** * @link https://library.wpcode.com/snippet/qorp835k/ * * Wait until WP Simple Pay is fully loaded. */ add_action( ‘init’, function() { require_once( SIMPLE_PAY_INC . ‘pro/webhooks/class-webhook-base.php’ ); require_once( SIMPLE_PAY_INC . ‘pro/webhooks/class-webhook-interface.php’ ); /** * Adds handling for `coupon.updated` webhook. * * @param array…Continue reading