LLMS_Blocks_Course_Syllabus_Block::get_attributes()

Retrieve custom block attributes.


Description Description

Necessary to override when creating ServerSideRender blocks.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: libraries/lifterlms-blocks/includes/blocks/class-llms-blocks-course-syllabus-block.php

57
58
59
60
61
62
63
64
65
66
67
*
 * @return array
 */
public function get_attributes() {
    llms_deprecated_function( __METHOD__, '2.5.0' );
 
    return array_merge(
        parent::get_attributes(),
        array(
            'course_id' => array(
                'type'    => 'int',


Top ↑

Changelog 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.