jetpack_disable_cookie_consent_block
jetpack_disable_cookie_consent_block
Appears in: jetpack.13.2, jetpack.13.2.1, jetpack.13.3.1, jetpack.13.5, jetpack.13.6, jetpack.13.7, jetpack.13.8, jetpack.13.8.1, jetpack.13.9.1, jetpack.14.0, jetpack.14.1, jetpack.14.2.1, jetpack.14.3, jetpack.14.4.1, jetpack.14.5
Hook Type: filter
See hook in action
Displaying hooks found in version: jetpack.14.5apply_filters('jetpack_disable_cookie_consent_block') is found 1 times:
- /extensions/blocks/cookie-consent/cookie-consent.php line 858182838485868788899091
* @since 13.2
*
* @param bool
$disable_cookie_consent_block
Whether to disable the Cookie-consent Block.
*/
apply_filters(
'jetpack_disable_cookie_consent_block'
, false )
) {
return
''
;
}
// If the user has already accepted the cookie consent, don't show the block.
if
( isset(
$_COOKIE
[ COOKIE_NAME ] ) ) {