wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_load_core_site_options › WordPress Function
Since3.0.0
Deprecatedn/a
› wp_load_core_site_options ( $network_id = null )
Parameters: |
|
Defined at: |
|
Codex: | |
Change Log: |
|
Loads and primes caches of certain often requested network options if is_multisite().
Related Functions: update_site_option, add_site_option, wp_load_alloptions, wp_prime_site_option_caches, get_site_option
Source
function wp_load_core_site_options( $network_id = null ) { if ( ! is_multisite() || wp_installing() ) { return; } $core_options = array( 'site_name', 'siteurl', 'active_sitewide_plugins', '_site_transient_timeout_theme_roots', '_site_transient_theme_roots', 'site_admins', 'can_compress_scripts', 'global_terms_enabled', 'ms_files_rewriting', 'WPLANG' ); wp_prime_network_option_caches( $network_id, $core_options ); }