MailPoet\EmailEditor\Engine\Renderer\ContentRenderer

Blocks_Registry::add_fallback_renderer()publicWC 1.0

Adds fallback renderer to the registry.

Method of the class: Blocks_Registry{}

No Hooks.

Return

null. Nothing (null).

Usage

$Blocks_Registry = new Blocks_Registry();
$Blocks_Registry->add_fallback_renderer( $renderer ): void;
$renderer(Block_Renderer) (required)
Fallback renderer.

Blocks_Registry::add_fallback_renderer() code WC 9.8.1

public function add_fallback_renderer( Block_Renderer $renderer ): void {
	$this->fallback_renderer = $renderer;
}