Automattic\WooCommerce\Blocks\BlockTypes

AbstractBlock::get_block_typeprotectedWC 1.0

Deprecated since 0.9.0. It is no longer supported and may be removed in future releases. Use get_full_block_name() instead.

Get the block type.

Method of the class: AbstractBlock{}

No Hooks.

Returns

String.

Usage

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

Changelog

Deprecated since 10.9.0 Use get_full_block_name() instead.

AbstractBlock::get_block_type() code WC 10.9.4

protected function get_block_type() {
	wc_deprecated_function( __METHOD__, '10.9.0', 'get_full_block_name' );
	return $this->get_full_block_name();
}