tr

wpseek.com
A WordPress-centric search engine for devs and theme authors


  |     Browse all


get_active_blog_for_user [ WordPress Function ]

get_active_blog_for_user ( $user_id )
Parameters:
  • int $user_id The unique ID of the user
Uses:
Returns:
  • object The blog object
Defined at:



Get one of a user's active blogs

Returns the user's primary blog, if she has one and it is active. If it's inactive, function returns another active blog of the user. If none are found, the user is added as a Subscriber to the Dashboard Blog and that blog is returned.

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics