MailPoet\EmailEditor\Engine\Templates

Templates_Registry::get_all()publicWC 1.0

Retrieve all registered templates.

Method of the class: Templates_Registry{}

No Hooks.

Return

Array. List of all registered templates.

Usage

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

Templates_Registry::get_all() code WC 9.8.2

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