Automattic\WooCommerce\Blocks\BlockTypes

AbstractBlock::get_full_block_nameprotectedWC 1.0

Get the interactivity namespace. Only used when utilizing the interactivity API.

Method of the class: AbstractBlock{}

No Hooks.

Returns

String. The interactivity namespace, used to namespace interactivity API actions and state.

Usage

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

AbstractBlock::get_full_block_name() code WC 9.9.5

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