woocommerce_webhook_deliver_async

woocommerce_webhook_deliver_async

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_webhook_deliver_async') is found 1 times:

  • /includes/wc-webhook-functions.php line 26
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    foreach ( $wc_queued_webhooks as $data ) {
        // Webhooks are processed in the background by default
        // so as to avoid delays or failures in delivery from affecting the
        // user who triggered it.
        if ( apply_filters( 'woocommerce_webhook_deliver_async', true, $data['webhook'], $data['arg'] ) ) {
     
            $queue_args = array(
                'webhook_id' => $data['webhook']->get_id(),
                'arg'        => $data['arg'],
            );