MailPoet\EmailEditor\Engine\Renderer\ContentRenderer
Blocks_Registry::remove_all_block_renderers()
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() 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 ); } }