woocommerce_new_webhook

woocommerce_new_webhook

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.4.2

do_action('woocommerce_new_webhook') is found 1 times:

  • /includes/data-stores/class-wc-webhook-data-store.php line 64
    		$webhook->apply_changes();
    
    		$this->delete_transients( $webhook->get_status( 'edit' ) );
    		WC_Cache_Helper::invalidate_cache_group( 'webhooks' );
    		do_action( 'woocommerce_new_webhook', $webhook_id, $webhook );
    	}
    
    	/**
    	 * Read a webhook from the database.
    	 *
    	 * @since  3.3.0
    

See this hook used in plugins: