LLMS_Blocks_Visibility::get_attributes()
Retrieve visibility attributes.
Description Description
Used when registering dynamic blocks via PHP.
Return Return
(array)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-visibility.php
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | public static function get_attributes() { return array ( 'llms_visibility' => array ( 'default' => 'all' , 'type' => 'string' , ), 'llms_visibility_in' => array ( 'default' => '' , 'type' => 'string' , ), 'llms_visibility_posts' => array ( 'default' => '[]' , 'type' => 'string' , ), ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |