Automattic\WooCommerce\EmailEditor\Engine\Renderer\ContentRenderer
Content_Renderer::get_current_rendering_context
Get the current rendering context without creating a fallback context.
Method of the class: Content_Renderer{}
No Hooks.
Returns
Rendering_Context|null.
Usage
$Content_Renderer = new Content_Renderer(); $Content_Renderer->get_current_rendering_context(): ?Rendering_Context;
Content_Renderer::get_current_rendering_context() Content Renderer::get current rendering context code WC 11.0.0
public function get_current_rendering_context(): ?Rendering_Context {
return $this->rendering_context;
}