Docs: Update the return type for get_active_blog_for_user()
This is now a `WP_Site` object. See #32450. git-svn-id: https://develop.svn.wordpress.org/trunk@36895 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3968688877
commit
fce77dc7c6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user