Warning: This method has been deprecated.
LLMS_Blocks_Course_Syllabus_Block::add_hooks( array $attributes = array(), string $content = '' )
Add actions 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/blocks/class-llms-blocks-course-syllabus-block.php
public function add_hooks( $attributes = array(), $content = '' ) {
llms_deprecated_function( __METHOD__, '2.5.0' );
add_action( $this->get_render_hook(), 'lifterlms_template_single_syllabus', 10 );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 2.5.0 | This method has been deprecated. |
| 1.0.0 | Introduced. |