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
Hook Type: filter
See hook in action
Displaying hooks found in version: jetpack.14.0apply_filters('jetpack_disable_cookie_consent_block') is found 1 times:
- /extensions/blocks/cookie-consent/cookie-consent.php line 85
* @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 ] ) ) {