Automattic\WooCommerce\Internal\Admin\EmailPreview

EmailPreviewRestController::get_rest_api_namespace()protectedWC 1.0

Get the WooCommerce REST API namespace for the class.

Method of the class: EmailPreviewRestController{}

No Hooks.

Return

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 9.7.1

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