Automattic\WooCommerce\Internal\ReceiptRendering

ReceiptRenderingRestController::get_rest_api_namespace │ protected │ WC 1.0

Get the WooCommerce REST API namespace for the class.

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

Хуков нет.

Возвращает

string.

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

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

Код ReceiptRenderingRestController::get_rest_api_namespace() WC 11.2.2

protected function get_rest_api_namespace(): string {
	return 'order-receipts';
}