Automattic\WooCommerce\Internal\Admin\EmailPreview

EmailPreviewRestController::get_rest_api_namespace()protectedWC 1.0

Get the WooCommerce REST API namespace for the class.

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

Хуков нет.

Возвращает

Строку.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_rest_api_namespace(): string;

Код EmailPreviewRestController::get_rest_api_namespace() WC 9.6.1

protected function get_rest_api_namespace(): string {
	return 'wc-admin-email';
}