LLMS_Blocks_PHP_Template_Block::get_attributes()
Retrieve custom block attributes.
Description Description
Necessary to override when creating ServerSideRender blocks.
Return Return
(array)
Source Source
File: libraries/lifterlms-blocks/includes/blocks/class-llms-blocks-php-template-block.php
78 79 80 81 82 83 84 85 86 87 88 89 | public function get_attributes() { return array ( 'template' => array ( 'type' => 'string' , 'default' => '' , ), 'title' => array ( 'type' => 'string' , 'default' => '' , ), ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |