Commit 797b2352 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add note on how to disable consent prompts

parent b1fd581c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -146,5 +146,6 @@ function fscoli_show_embed_privacy_consent_prompt($embed_html) {
    return fscoli_get_consent_prompt($embed_html, $width, $height, $provider_url, $provider_domain, $privacy_policy_url);   
}

// To disable the privacy consent prompts (and always show the content directly), just remove this line
add_filter('embed_handler_html', 'fscoli_show_embed_privacy_consent_prompt');
?>