get_blog_details
get_blog_details ( $fields = null, $get_all = true )
Parameters:- (int|string|array) fields Optional. A blog ID, a blog slug, or an array of fields to query against. Defaults to the current blog ID.
- (bool) get_all Whether to retrieve all details or only the details in the blogs table. Default is true.
Returns:- (WP_Site|false) Blog details on success. False on failure.
Defined at:Change Log: - Introduced in WordPress: —
- Deprecated in WordPress: —
Description
Retrieves the details for a blog from the blogs table and blog options.