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.
Parameters Parameters
- $should_filter
-
(boolean) Whether or not to apply visibility filters.
- $block
-
(array) Block data array.
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-visibility.php
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |