woocommerce_webhook_updated
Использование
add_action( 'woocommerce_webhook_updated', 'wp_kama_woocommerce_webhook_updated_action' ); /** * Function for `woocommerce_webhook_updated` action-hook. * * @param $webhook_id * * @return void */ function wp_kama_woocommerce_webhook_updated_action( $webhook_id ){ // action... }
- $webhook_id
- -
Где вызывается хук
woocommerce_webhook_updated
woocommerce/includes/data-stores/class-wc-webhook-data-store.php 166
do_action( 'woocommerce_webhook_updated', $webhook->get_id() );