Parsed: 122313
<?php /** * Site API * * @package WordPress * @subpackage Multisite * @since 5.1.0 */ /* function wp_insert_site() – Inserts a new site into the database. */ /* function wp_update_site() – Updates a site in the database. */ /* function wp_delete_site() – Deletes a site from the database. */ /* function get_site() – Retrieves site data given a site ID or site object. */ /* function _prime_site_caches() – Adds any sites from the given IDs to the cache that do not already exist in cache. */ /* function update_site_cache() – Updates sites in cache. */ /* function update_sitemeta_cache() – Updates metadata cache for list of site IDs. */ /* function get_sites() – Retrieves a list of sites matching requested arguments. */ /* function wp_prepare_site_data() – Prepares site data for insertion or update in the database. */ /* function wp_normalize_site_data() – Normalizes data for a site prior to inserting or updating in the database. */ /* function wp_validate_site_data() – Validates data for a site prior to inserting or updating in the database. */ /* function wp_initialize_site() – Runs the initialization routine for a given site. */ /* function wp_uninitialize_site() – Runs the uninitialization routine for a given site. */ /* function wp_is_site_initialized() – Checks whether a site is initialized. */ /* function clean_blog_cache() – Clean the blog cache */ /* function add_site_meta() – Adds metadata to a site. */ /* function delete_site_meta() – Removes metadata matching criteria from a site. */ /* function get_site_meta() – Retrieves metadata for a site. */ /* function update_site_meta() – Updates metadata for a site. */ /* function delete_site_meta_by_key() – Deletes everything from site meta matching meta key. */ /* function wp_maybe_update_network_site_counts_on_update() – Updates the count of sites for a network based on a changed site. */ /* function wp_maybe_transition_site_statuses_on_update() – Triggers actions on site status updates. */ /* function wp_maybe_clean_new_site_cache_on_update() – Cleans the necessary caches after specific site data has been updated. */ /* function wp_update_blog_public_option_on_site_update() – Updates the `blog_public` option for a given site ID. */ /* function wp_cache_set_sites_last_changed() – Sets the last changed time for the ‘sites’ cache group. */ /* function wp_check_site_meta_support_prefilter() – Aborts calls to site meta if it is not supported. */