Lines: 1 to 20 of 20
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /* class WC_API_Webhooks */ /* function WC_API_Webhooks::register_routes() – Register the routes for this class */ /* function WC_API_Webhooks::get_webhooks() – Get all webhooks */ /* function WC_API_Webhooks::get_webhook() – Get the webhook for the given ID */ /* function WC_API_Webhooks::get_webhooks_count() – Get the total number of webhooks */ /* function WC_API_Webhooks::create_webhook() – Create an webhook */ /* function WC_API_Webhooks::edit_webhook() – Edit a webhook */ /* function WC_API_Webhooks::delete_webhook() – Delete a webhook */ /* function WC_API_Webhooks::get_webhooks_total_results() – Get webhooks total results */ /* function WC_API_Webhooks::query_webhooks() – Helper method to get webhook post objects */ /* function WC_API_Webhooks::get_webhook_deliveries() – Get deliveries for a webhook */ /* function WC_API_Webhooks::get_webhook_delivery() – Get the delivery log for the given webhook ID and delivery ID */ /* function WC_API_Webhooks::validate_request() – Validate the request by checking: */