LLMS_Blocks_Lesson_Navigation_Block::add_hooks( array $attributes = array(), string $content = '' )

Add actions attached to the render function action.

Parameters Parameters


(array) (Optional) Block attributes.

Default value: array()


(string) (Optional) Block content.

Default value: ''

Top ↑

Return Return


Top ↑

Source Source

File: libraries/lifterlms-blocks/includes/blocks/class-llms-blocks-lesson-navigation-block.php

	public function add_hooks( $attributes = array(), $content = '' ) {

		add_action( $this->get_render_hook(), 'lifterlms_template_lesson_navigation', 10 );


Top ↑

Changelog Changelog

Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.