@package: Multisite
-
functionwp_ensure_editable_role()
Stop execution if the role can not be assigned by the current user.
-
functionwp_lazyload_site_meta()
Queue site meta for lazy-loading.
-
Notifies the Multisite network administrator that a new site was created.
-
Filters whether to send an email to the Multisite network administrator when a new site is created.
-
hooknew_site_email
Filters the content of the email sent to the Multisite network administrator when a new site is created.
-
Fires at the end of the site info form in network admin.
-
Deletes an associated signup entry when a user is deleted from the database.
-
functionwp_count_sites()
Counts number of sites grouped by site status.
-
Filters the network data before the query takes place.
-
Sets the last changed time for the ‘sites’ cache group.
-
Aborts calls to site meta if it is not supported.
-
Cleans the necessary caches after specific site data has been updated.
-
Updates the `blog_public` option for a given site ID.
-
Updates the count of sites for a network based on a changed site.
-
Triggers actions on site status updates.
-
functionadd_site_meta()
Adds metadata to a site.
-
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.
-
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_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.
-
functionupdate_sitemeta_cache()
Updates metadata cache for list of site IDs.
-
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.