Automattic\WooCommerce\Internal\EmailEditor\EmailTemplates

WooEmailTemplate::get_slugpublicWC 1.0

Get the template slug.

Method of the class: WooEmailTemplate{}

No Hooks.

Returns

String. Template identifier.

Usage

$WooEmailTemplate = new WooEmailTemplate();
$WooEmailTemplate->get_slug(): string;

WooEmailTemplate::get_slug() code WC 10.6.2

public function get_slug(): string {
	return self::TEMPLATE_SLUG;
}