woocommerce_rest_delete_webhook_object

woocommerce_rest_delete_webhook_object

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_rest_delete_webhook_object') is found 1 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php line 495
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
         * @param WC_Webhook       $webhook     The deleted or trashed item.
         * @param WP_REST_Response $response The response data.
         * @param WP_REST_Request  $request  The request sent to the API.
         */
        do_action( 'woocommerce_rest_delete_webhook_object', $webhook, $response, $request );
     
        return $response;
    }
     
    /**
     * Prepare a single webhook for create or update.