wp_prime_option_caches
wp_prime_option_caches ( $options )
Parameters:- (string[]) options An array of option names to be loaded.
Defined at: - Introduced in WordPress: 6.4.0
- Deprecated in WordPress: —
Description
Primes specific options into the cache with a single database query.Only options that do not already exist in cache will be loaded.