Provider::hydrate_query_posts( array $query_posts, TECEventsCustom_TablesV1WP_QueryCustom_Tables_Query $query )

Hydrates the Custom Tables Query post results early.


Parameters

$query_posts

(array) (Required) The posts returned by the query.

$query

(TECEventsCustom_TablesV1WP_QueryCustom_Tables_Query) (Required) The Custom Tables Query instance.


Top ↑

Return

(array) The posts returned by the query, hydrated.


Top ↑

Source

File: src/Events_Pro/Custom_Tables/V1/WP_Query/Provider.php

	public function hydrate_query_posts( array $query_posts, Custom_Tables_Query $query ): array {
		return $this->noop ?
			$query_posts
			: $this->container->make( Replace_Results::class )->hydrate_query_posts( $query_posts, $query );
	}

Top ↑

Changelog

Changelog
Version Description
6.0.3 Introduced.