Filter: Consent/Block/HTML

apply_filters( 'Consent/Block/HTML', $html ) → {string}

Block content in a given HTML string. This is a Consent API filter and can be consumed by third-party plugin and theme developers. See example for usage.

Parameters:
Name Type Description
$html string
Returns:
Type
string
Example

Block content of a given HTML string

$output = apply_filters('Consent/Block/HTML', '<iframe src="https://player.vimeo.com/..." />');