wp_prime_site_option_caches
wp_prime_site_option_caches ( $options )
Parameters:- (string[]) options An array of option names to be loaded.
See:Defined at: - Introduced in WordPress: 6.6.0
- Deprecated in WordPress: —
Description
Primes specific network options for the current network into the cache with a single database query.Only network options that do not already exist in cache will be loaded.
If site is not multisite, then call wp_prime_option_caches().