woocommerce_api_create_webhook action-hookWC 1.0

HTTP 201 Created

Usage

add_action( 'woocommerce_api_create_webhook', 'wp_kama_woocommerce_api_create_webhook_action', 10, 2 );

/**
 * Function for `woocommerce_api_create_webhook` action-hook.
 * 
 * @param  $webhook_id 
 * @param  $that       
 *
 * @return void
 */
function wp_kama_woocommerce_api_create_webhook_action( $webhook_id, $that ){

	// action...
}
$webhook_id
-
$that
-

Where the hook is called

WC_API_Webhooks::create_webhook()
woocommerce_api_create_webhook
woocommerce/includes/legacy/api/v3/class-wc-api-webhooks.php 218
do_action( 'woocommerce_api_create_webhook', $webhook->get_id(), $this );
woocommerce/includes/legacy/api/v2/class-wc-api-webhooks.php 218
do_action( 'woocommerce_api_create_webhook', $webhook->get_id(), $this );

Where the hook is used in WooCommerce

Usage not found.