Docs: Update the return type for get_active_blog_for_user()
This is now a `WP_Site` object. See #32450. Built from https://develop.svn.wordpress.org/trunk@36895 git-svn-id: http://core.svn.wordpress.org/trunk@36862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -37,7 +37,7 @@ function get_sitestats() {
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $user_id The unique ID of the user
|
||||
* @return object|void The blog object
|
||||
* @return WP_Site|void The blog object
|
||||
*/
|
||||
function get_active_blog_for_user( $user_id ) {
|
||||
global $wpdb;
|
||||
|
||||
Reference in New Issue
Block a user