Automattic\WooCommerce\Blocks\BlockTypes
FeaturedCategory::get_block_type_attributes()
Get block attributes.
Method of the class: FeaturedCategory{}
No Hooks.
Returns
Array
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_block_type_attributes();
FeaturedCategory::get_block_type_attributes() FeaturedCategory::get block type attributes code WC 9.8.5
protected function get_block_type_attributes() { return array_merge( parent::get_block_type_attributes(), array( 'textColor' => $this->get_schema_string(), 'fontSize' => $this->get_schema_string(), 'lineHeight' => $this->get_schema_string(), 'style' => array( 'type' => 'object' ), ) ); }