update_blog_public

update_blog_public

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('update_blog_public') is found 1 times:

  • /wp-includes/ms-site.php line 1260
    1256
    1257
    1258
    1259
    1260
    1261
    1262
    1263
    1264
    1265
    1266
             * @param int    $site_id   Site ID.
             * @param string $is_public Whether the site is public. A numeric string,
             *                          for compatibility reasons. Accepts '1' or '0'.
             */
            do_action( 'update_blog_public', $site_id, $new_site->public );
        }
    }
     
    /**
     * Cleans the necessary caches after specific site data has been updated.
     *