nl

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 ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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