Automattic\WooCommerce\Blocks\BlockTypes

AbstractBlock::get_block_type()protectedWC 1.0

Get the block type.

Method of the class: AbstractBlock{}

No Hooks.

Return

String.

Usage

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

AbstractBlock::get_block_type() code WC 9.4.2

protected function get_block_type() {
	return $this->namespace . '/' . $this->block_name;
}