woocommerce_api_edit_webhook action-hookWC 1.0

Usage

add_action( 'woocommerce_api_edit_webhook', 'wp_kama_woocommerce_api_edit_webhook_action', 10, 2 );

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

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

Where the hook is called

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

Where the hook is used in WooCommerce

Usage not found.