WC_REST_Data_Currencies_Controller::get_files_relevant_to_response_caching
Get the files relevant to response caching.
Метод класса: WC_REST_Data_Currencies_Controller{}
Хуков нет.
Возвращает
Массив. Array of file paths to track for cache invalidation.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_files_relevant_to_response_caching( $request, ?string $endpoint_id ): array;
- $request(WP_REST_Request) (обязательный)
- .
- ?string $endpoint_id
- .
По умолчанию:null
Код WC_REST_Data_Currencies_Controller::get_files_relevant_to_response_caching() WC REST Data Currencies Controller::get files relevant to response caching WC 11.0.1
protected function get_files_relevant_to_response_caching( WP_REST_Request $request, ?string $endpoint_id = null ): array { // phpcs:ignore Squiz.Commenting.FunctionComment.IncorrectTypeHint
return array( 'i18n/currencies.php' );
}