LLMS_Blocks_Abstract_Block
Abstract Block class.
Description Description
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-abstract-block.php
Changelog Changelog
Version | Description |
---|---|
1.8.0 | Don't output empty render messages on the frontend. |
1.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- add_hooks — Add hooks stub.
- get_attributes — Retrieve custom block attributes.
- get_block_id — Retrieve the ID/Name of the block.
- get_empty_render_message — Output a message when no HTML was rendered
- get_render_hook — Retrieve a string which can be used to render the block.
- register_meta — Register meta attributes stub.
- remove_hooks — Removed hooks stub.
- render_callback — Renders the block type output for given attributes.