Automattic\WooCommerce\Internal\EmailEditor\EmailTemplates

WooEmailTemplate::get_slugpublicWC 1.0

Get the template slug.

Метод класса: WooEmailTemplate{}

Хуков нет.

Возвращает

Строку. Template identifier.

Использование

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

Код WooEmailTemplate::get_slug() WC 11.0.1

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