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:
  • M: U

Description

Retrieves the details for a blog from the blogs table and blog options.

Related Functions

update_blog_details, refresh_blog_details, get_blog_status, get_blog_list, get_user_details

Top Google Results

User discussions

wpseek mobile