WC_REST_Data_Continents_Controller::extract_entity_ids_from_response │ protected │ WC 1.0

Extract entity IDs from response data.

Continents don't have entity IDs, cache invalidation is file-based.

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

Хуков нет.

Возвращает

array. Empty array since continents don't have entity IDs.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->extract_entity_ids_from_response( $response_data, $request, ?string $endpoint_id ): array;
$response_data(массив) (обязательный)
Response data.
$request(WP_REST_Request) (обязательный)
.
?string $endpoint_id
.
По умолчанию: null

Код WC_REST_Data_Continents_Controller::extract_entity_ids_from_response() WC 11.2.2

protected function extract_entity_ids_from_response( array $response_data, WP_REST_Request $request, ?string $endpoint_id = null ): array { // phpcs:ignore Squiz.Commenting.FunctionComment.IncorrectTypeHint
	return array();
}