WC_REST_Data_Currencies_Controller::get_default_response_entity_typeprotectedWC 1.0

Get the default entity type for response caching.

Method of the class: WC_REST_Data_Currencies_Controller{}

No Hooks.

Returns

String|null. The entity type.

Usage

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

WC_REST_Data_Currencies_Controller::get_default_response_entity_type() code WC 10.9.4

protected function get_default_response_entity_type(): ?string {
	return 'currency';
}