首页 WordPress函数大全 get_active_blog_for_user()

get_active_blog_for_user()

2020-05-01 / 5807阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_active_blog_for_user( int $user_id )

Get>

Contents

  • Description
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Uses
    • Used By
  • User Contributed Notes

描述

Returns the user’s primary blog, if they have>

参数

$user_id

(int)
(Required)
The unique ID of the user

返回

(WP_Site|void) The blog object

大家谈论
    我的见解