apply_filters( 'llms_blocks_visibility_should_filter_block', boolean $should_filter, array $block )

Filters whether or not a block’s rendering should be modified by block-level visibility settings


Description Description

This filter does not determine whether or not the block will be rendered, it only determines whether or not we should check if it should be rendered.


Top ↑

Parameters Parameters

$should_filter

(boolean) Whether or not to apply visibility filters.

$block

(array) Block data array.


Top ↑

Source Source

File: libraries/lifterlms-blocks/includes/class-llms-blocks-visibility.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.