Provider::hydrate_query_posts( array $query_posts, TECEventsCustom_TablesV1WP_QueryCustom_Tables_Query $query )
Hydrates the Custom Tables Query post results early.
Contents
Parameters
- $query_posts
-
(array) (Required) The posts returned by the query.
- $query
-
(TECEventsCustom_TablesV1WP_QueryCustom_Tables_Query) (Required) The Custom Tables Query instance.
Return
(array) The posts returned by the query, hydrated.
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 );
}
Changelog
| Version | Description |
|---|---|
| 6.0.3 | Introduced. |