Automattic\WooCommerce\Internal\ReceiptRendering
ReceiptRenderingRestController::get_rest_api_namespace
Get the WooCommerce REST API namespace for the class.
Method of the class: ReceiptRenderingRestController{}
No Hooks.
Returns
String
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_rest_api_namespace(): string;
ReceiptRenderingRestController::get_rest_api_namespace() ReceiptRenderingRestController::get rest api namespace code WC 9.8.5
protected function get_rest_api_namespace(): string { return 'order-receipts'; }