WordPress at a glance
filter is not described

woocommerce_webhook_hash_algorithm filter-hook . WC 2.2.0

Generate a base64-encoded HMAC-SHA256 signature of the payload body so the recipient can verify the authenticity of the webhook. Note that the signature is calculated after the body has already been encoded (JSON by default).


add_filter( 'woocommerce_webhook_hash_algorithm', 'filter_function_name_9128', 10, 2 );
function filter_function_name_9128( $payload, $id ){
	// filter...

	return $payload;


Since 2.2.0 Introduced.

Where the hook is called

woocommerce/includes/class-wc-webhook.php 494
$hash_algo = apply_filters( 'woocommerce_webhook_hash_algorithm', 'sha256', $payload, $this->get_id() );

Where in WP core the hook is used WooCommerce

Usage not found.