WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\BlockTypes

ProductTag::get_block_type_attributes() protected WC 1.0

Get block attributes.

{} It's a method of the class: ProductTag{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_block_type_attributes();

Code of ProductTag::get_block_type_attributes() WC 5.8.0

protected function get_block_type_attributes() {
	return array(
		'className'         => $this->get_schema_string(),
		'columns'           => $this->get_schema_number( wc_get_theme_support( 'product_blocks::default_columns', 3 ) ),
		'rows'              => $this->get_schema_number( wc_get_theme_support( 'product_blocks::default_rows', 3 ) ),
		'contentVisibility' => $this->get_schema_content_visibility(),
		'align'             => $this->get_schema_align(),
		'alignButtons'      => $this->get_schema_boolean( false ),
		'orderby'           => $this->get_schema_orderby(),
		'tags'              => $this->get_schema_list_ids(),
		'tagOperator'       => array(
			'type'    => 'string',
			'default' => 'any',
		),
		'isPreview'         => $this->get_schema_boolean( false ),
	);
}