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.0

apply_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 ] ) ) {
    

See this hook used in plugins: