wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_prime_site_option_caches › WordPress Function

Seit6.6.0
Veraltetn/v
wp_prime_site_option_caches ( $options )
Parameter:
  • (string[]) $options An array of option names to be loaded.
    Erforderlich: Ja
Siehe:
Definiert in:
Codex:

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().


Quellcode

function wp_prime_site_option_caches( array $options ) {
	wp_prime_network_option_caches( null, $options );
}