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