LLMS_Blocks_Pricing_Table_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-pricing-table-block.php
public function get_attributes() {
return array_merge(
parent::get_attributes(),
array(
'post_id' => array(
'type' => 'int',
'default' => 0,
),
)
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.3.6 | Unknown. |
| 1.0.0 | Introduced. |