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.8.7.0

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
    		 * @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.