woocommerce_api_edit_webhook
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
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 );