Automattic\WooCommerce\Blocks\BlockTypes
ProductOnSale::get_block_type_attributes
Get block attributes.
Метод класса: ProductOnSale{}
Хуков нет.
Возвращает
Массив.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_block_type_attributes();
Код ProductOnSale::get_block_type_attributes() ProductOnSale::get block type attributes WC 10.5.0
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(),
)
);
}