WPINC_ms blog.php Notes - WordPress-Thinstall/wordpress-develop GitHub Wiki

interface MultiSiteBlogInterface {
    function wpmu_update_blogs_date();
    function get_blogaddress_by_id( $blog_id );
    function get_blogaddress_by_name( $blogname );
    function get_id_from_blogname( $slug );
    function get_blog_details( $fields = null, $get_all = true );
    function refresh_blog_details( $blog_id = 0 );
    function update_blog_details( $blog_id, $details = array() );
    function clean_blog_cache( $blog );
    function get_site( $site = null );
    function _prime_site_caches( $ids );
    function update_site_cache( $sites );
    function get_sites( $args = array() );
    function get_blog_option( $id, $option, $default = false );
    function add_blog_option( $id, $option, $value );
    function delete_blog_option( $id, $option );
    function update_blog_option( $id, $option, $value, $deprecated = null );
    function switch_to_blog( $new_blog, $deprecated = null );
    function restore_current_blog();
    function ms_is_switched();
    function is_archived( $id );
    function update_archived( $id, $archived );
    function update_blog_status( $blog_id, $pref, $value, $deprecated = null );
    function get_blog_status( $id, $pref );
    function get_last_updated( $deprecated = '', $start = 0, $quantity = 40 );
    function get_networks( $args = array() );
    function get_network( $network = null );
    function clean_network_cache( $ids );
    function update_network_cache( $networks );
    function _prime_network_caches( $network_ids );
    function _update_blog_date_on_post_publish( $new_status, $old_status, $post );
    function _update_blog_date_on_post_delete( $post_id );
    function _update_posts_count_on_delete( $post_id );
    function _update_posts_count_on_transition_post_status( $new_status, $old_status );
}