• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI
  • Changelog Subscribe

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / libraries/lifterlms-blocks/includes/class-llms-blocks-visibility.php

LLMS_Blocks_Visibility::should_filter_block()

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

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

Used by 1 function | Uses 3 functions

llms_blocks_visibility_should_filter_block

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

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

Used by 1 function | Uses 0 functions

LLMS_Blocks_Visibility::get_post_ids_from_block_attributes()

Method: Parse post ids from block visibility in attributes.

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

Used by 1 function | Uses 0 functions

LLMS_Blocks_Visibility::maybe_filter_block()

Method: Filter block output.

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

Used by 0 functions | Uses 5 functions

llms_blocks_visibility_render_block

Filter Hook: Filters a blocks content after it has been run through visibility attribute filters

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

Used by 1 function | Uses 0 functions

LLMS_Blocks_Visibility

Class: LLMS_Blocks_Visibility class.

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

Used by 0 functions | Uses 0 functions

LLMS_Blocks_Visibility::__construct()

Method: Constructor.

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

Used by 0 functions | Uses 0 functions

LLMS_Blocks_Visibility::get_attributes()

Method: Retrieve visibility attributes.

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

Used by 1 function | Uses 0 functions

LLMS_Blocks_Visibility::get_enrollment_count_by_type()

Method: Get the number of enrollments for a user by post type.

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

Used by 2 functions | Uses 2 functions
© 2014 - 2025 LifterLMS · Privacy Policy · Terms and Conditions