Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/ms-site.php

wp_maybe_clean_new_site_cache_on_update()

Function: Cleans the necessary caches after specific site data has been updated.

Source: wp-includes/ms-site.php:1252

Used by 0 functions | Uses 1 function

wp_update_blog_public_option_on_site_update()

Function: Updates the `blog_public` option for a given site ID.

Source: wp-includes/ms-site.php:1266

Used by 0 functions | Uses 2 functions

wp_cache_set_sites_last_changed()

Function: Sets the last changed time for the ‘sites’ cache group.

Source: wp-includes/ms-site.php:1281

Used by 1 function | Uses 1 function

wp_check_site_meta_support_prefilter()

Function: Aborts calls to site meta if it is not supported.

Source: wp-includes/ms-site.php:1295

Used by 0 functions | Uses 3 functions

wp_maybe_update_network_site_counts_on_update()

Function: Updates the count of sites for a network based on a changed site.

Source: wp-includes/ms-site.php:1105

Used by 0 functions | Uses 1 function

wp_maybe_transition_site_statuses_on_update()

Function: Triggers actions on site status updates.

Source: wp-includes/ms-site.php:1126

Used by 0 functions | Uses 2 functions

delete_site_meta()

Function: Removes metadata matching criteria from a site.

Source: wp-includes/ms-site.php:1036

Used by 0 functions | Uses 1 function

get_site_meta()

Function: Retrieves metadata for a site.

Source: wp-includes/ms-site.php:1056

Used by 0 functions | Uses 1 function

update_site_meta()

Function: Updates metadata for a site.

Source: wp-includes/ms-site.php:1080

Used by 1 function | Uses 1 function

delete_site_meta_by_key()

Function: Deletes everything from site meta matching meta key.

Source: wp-includes/ms-site.php:1092

Used by 0 functions | Uses 1 function

add_site_meta()

Function: Adds metadata to a site.

Source: wp-includes/ms-site.php:1016

Used by 0 functions | Uses 1 function

wp_validate_site_data()

Function: Validates data for a site prior to inserting or updating in the database.

Source: wp-includes/ms-site.php:557

Used by 0 functions | Uses 3 functions

wp_initialize_site()

Function: Runs the initialization routine for a given site.

Source: wp-includes/ms-site.php:635

Used by 0 functions | Uses 30 functions

wp_initialize_site_args

Filter Hook: Filters the arguments for initializing a site.

Source: wp-includes/ms-site.php:676

Used by 1 function | Uses 0 functions

wp_uninitialize_site()

Function: Runs the uninitialization routine for a given site.

Source: wp-includes/ms-site.php:766

Used by 0 functions | Uses 13 functions

wp_is_site_initialized()

Function: Checks whether a site is initialized.

Source: wp-includes/ms-site.php:888

Used by 3 functions | Uses 8 functions

pre_wp_is_site_initialized

Filter Hook: Filters the check for whether a site is initialized before the database is accessed.

Source: wp-includes/ms-site.php:908

Used by 1 function | Uses 0 functions

wp_prepare_site_data()

Function: Prepares site data for insertion or update in the database.

Source: wp-includes/ms-site.php:442

Used by 2 functions | Uses 4 functions

wp_normalize_site_data

Filter Hook: Filters passed site data in order to normalize it.

Source: wp-includes/ms-site.php:460

Used by 1 function | Uses 0 functions

wp_validate_site_data

Action Hook: Fires when data should be validated for a site prior to inserting or updating in the database.

Source: wp-includes/ms-site.php:480

Used by 1 function | Uses 0 functions

wp_normalize_site_data()

Function: Normalizes data for a site prior to inserting or updating in the database.

Source: wp-includes/ms-site.php:502

Used by 0 functions | Uses 3 functions

update_sitemeta_cache()

Function: Updates metadata cache for list of site IDs.

Source: wp-includes/ms-site.php:402

Used by 1 function | Uses 3 functions

wp_insert_site()

Function: Inserts a new site into the database.

Source: wp-includes/ms-site.php:44

Used by 2 functions | Uses 13 functions

wp_insert_site

Action Hook: Fires once a site has been inserted into the database.

Source: wp-includes/ms-site.php:89

Used by 1 function | Uses 0 functions

wp_initialize_site

Action Hook: Fires when a site’s initialization routine should be executed.

Source: wp-includes/ms-site.php:105

Used by 1 function | Uses 0 functions

wp_update_site()

Function: Updates a site in the database.

Source: wp-includes/ms-site.php:157

Used by 2 functions | Uses 9 functions

wp_update_site

Action Hook: Fires once a site has been updated in the database.

Source: wp-includes/ms-site.php:195

Used by 1 function | Uses 0 functions

wp_delete_site()

Function: Deletes a site from the database.

Source: wp-includes/ms-site.php:210

Used by 1 function | Uses 11 functions

wp_validate_site_deletion

Action Hook: Fires before a site should be deleted from the database.

Source: wp-includes/ms-site.php:235

Used by 1 function | Uses 0 functions

wp_uninitialize_site

Action Hook: Fires when a site’s uninitialization routine should be executed.

Source: wp-includes/ms-site.php:259

Used by 1 function | Uses 0 functions
1 2 Next
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry