wp_prime_network_option_caches


wp_prime_network_option_caches ( $network_id, $options )

Parameters:
  • (int) network_id ID of the network. Can be null to default to the current network ID.
  • (string[]) options An array of option names to be loaded.
Defined at:

Description

Primes specific network options 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().

Related Functions

wp_prime_option_caches, wp_prime_site_option_caches, _prime_network_caches, wp_prime_option_caches_by_group, _prime_post_caches

Top Google Results

User discussions

wpseek mobile