jetpack_disable_cookie_consent_block

jetpack_disable_cookie_consent_block

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.14.5

apply_filters('jetpack_disable_cookie_consent_block') is found 1 times:

  • /extensions/blocks/cookie-consent/cookie-consent.php line 85
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
         * @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 ] ) ) {

See this hook used in plugins: