Primes specific network options for the current network into the cache with a single database query.
Description
Only network options that do not already exist in cache will be loaded.
If site is not multisite, then call wp_prime_option_caches() .
See also
Parameters
$optionsstring[]required- An array of option names to be loaded.
Source
function wp_prime_site_option_caches( array $options ) {
wp_prime_network_option_caches( null, $options );
}
Changelog
| Version | Description |
|---|---|
| 6.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.