Provider::hydrate_provisional_meta_cache( null|bool $meta, array $ids )

Hydrates the meta cache of an occurrence in case this cache has not been set already.


Parameters

$meta

(null|bool) (Required) null if we can override it.

$ids

(array) (Required) An array with the IDs that requested the meta values.


Top ↑

Return

(bool|null) Whether caches were correctly updated or not.


Top ↑

Source

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

	public function hydrate_provisional_meta_cache( $meta, $ids ) {
		if ( $this->noop || $meta !== null ) {
			return $meta;
		}

		return $this->container->make( Provisional_Post::class )->hydrate_caches( $ids );
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.