wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_prime_site_option_caches › WordPress Function

Depuis6.6.0
Dépréciéen/a
wp_prime_site_option_caches ( $options )
Paramètres:
  • (string[]) $options An array of option names to be loaded.
    Requis: Oui
Voir:
Défini(e) dans:
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().


Source

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