woocommerce_webhook_payload

woocommerce_webhook_payload

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_webhook_payload') is found 1 times:

  • /includes/class-wc-webhook.php line 486
     
    		// Restore the current user.
    		wp_set_current_user( $current_user );
    
    		return apply_filters( 'woocommerce_webhook_payload', $payload, $resource, $resource_id, $this->get_id() );
    	}
    
    	/**
    	 * 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).