update_blog_option example


function wp_update_blog_public_option_on_site_update( $site_id$is_public ) {

    // Bail if the site's database tables do not exist (yet).     if ( ! wp_is_site_initialized( $site_id ) ) {
        return;
    }

    update_blog_option( $site_id, 'blog_public', $is_public );
}

/** * Sets the last changed time for the 'sites' cache group. * * @since 5.1.0 */
function wp_cache_set_sites_last_changed() {
    wp_cache_set_last_changed( 'sites' );
}

Home | Imprint | This part of the site doesn't use cookies.