File: wp-includes/ms-site.php
-
functionwp_lazyload_site_meta()
Queue site meta for lazy-loading.
-
Cleans the necessary caches after specific site data has been updated.
-
Updates the `blog_public` option for a given site ID.
-
Sets the last changed time for the ‘sites’ cache group.
-
Aborts calls to site meta if it is not supported.
-
Updates the count of sites for a network based on a changed site.
-
Triggers actions on site status updates.
-
functiondelete_site_meta()
Removes metadata matching criteria from a site.
-
functionget_site_meta()
Retrieves metadata for a site.
-
functionupdate_site_meta()
Updates metadata for a site.
-
functiondelete_site_meta_by_key()
Deletes everything from site meta matching meta key.
-
functionadd_site_meta()
Adds metadata to a site.
-
functionwp_validate_site_data()
Validates data for a site prior to inserting or updating in the database.
-
functionwp_initialize_site()
Runs the initialization routine for a given site.
-
Filters the arguments for initializing a site.
-
functionwp_uninitialize_site()
Runs the uninitialization routine for a given site.
-
functionwp_is_site_initialized()
Checks whether a site is initialized.
-
Filters the check for whether a site is initialized before the database is accessed.
-
functionwp_prepare_site_data()
Prepares site data for insertion or update in the database.
-
Filters passed site data in order to normalize it.
-
Fires when data should be validated for a site prior to inserting or updating in the database.
-
functionwp_normalize_site_data()
Normalizes data for a site prior to inserting or updating in the database.
-
functionupdate_sitemeta_cache()
Updates metadata cache for list of site IDs.
-
functionwp_insert_site()
Inserts a new site into the database.
-
hookwp_insert_site
Fires once a site has been inserted into the database.
-
Fires when a site’s initialization routine should be executed.
-
functionwp_update_site()
Updates a site in the database.
-
hookwp_update_site
Fires once a site has been updated in the database.
-
functionwp_delete_site()
Deletes a site from the database.
-
Fires before a site should be deleted from the database.