MailPoet\EmailEditor\Engine\Renderer\ContentRenderer

Blocks_Registry::remove_all_block_renderers()publicWC 1.0

Removes all block renderers from the registry.

Method of the class: Blocks_Registry{}

No Hooks.

Return

null. Nothing (null).

Usage

$Blocks_Registry = new Blocks_Registry();
$Blocks_Registry->remove_all_block_renderers(): void;

Blocks_Registry::remove_all_block_renderers() code WC 9.8.1

public function remove_all_block_renderers(): void {
	foreach ( array_keys( $this->block_renderers_map ) as $block_name ) {
		$this->remove_block_renderer( $block_name );
	}
}