Automattic\WooCommerce\LayoutTemplates

LayoutTemplateRegistry::unregister_all()publicWC 1.0

Unregister all layout templates.

Method of the class: LayoutTemplateRegistry{}

No Hooks.

Return

null. Nothing (null).

Usage

$LayoutTemplateRegistry = new LayoutTemplateRegistry();
$LayoutTemplateRegistry->unregister_all();

LayoutTemplateRegistry::unregister_all() code WC 8.9.0

public function unregister_all() {
	$this->layout_templates_info     = array();
	$this->layout_template_instances = array();
}