LLMS_Blocks_Abstract_Block::add_hooks( array $attributes = array(), string $content = '' )
Add hooks stub.
Description Description
Extending classes can use this class to add hooks attached to the render function action.
Parameters Parameters
- $attributes
-
(array) (Optional) Block attributes.
Default value: array()
- $content
-
(string) (Optional) Block content.
Default value: ''
Return Return
(void)
Source Source
File: libraries/lifterlms-blocks/includes/class-llms-blocks-abstract-block.php
public function add_hooks( $attributes = array(), $content = '' ) {}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |