Automattic\WooCommerce\EmailEditor\Engine\Templates

Templates_Registry::get_allpublicWC 1.0

Retrieve all registered templates.

Method of the class: Templates_Registry{}

No Hooks.

Returns

Array. List of all registered templates.

Usage

$Templates_Registry = new Templates_Registry();
$Templates_Registry->get_all();

Templates_Registry::get_all() code WC 10.6.2

public function get_all() {
	return $this->templates;
}