Automattic\WooCommerce\Internal\Admin\EmailPreview

EmailPreviewRestController::get_rest_api_namespaceprotectedWC 1.0

Get the WooCommerce REST API namespace for the class.

Method of the class: EmailPreviewRestController{}

No Hooks.

Returns

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_rest_api_namespace(): string;

EmailPreviewRestController::get_rest_api_namespace() code WC 10.3.6

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