de

wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren


  |     Alle durchsuchen


get_active_blog_for_user [ WordPress Function ]

get_active_blog_for_user ( $user_id )
Parameter:
  • int $user_id The unique ID of the user
Nutzt:
Gibt zurück:
  • object The blog object
Definiert in:



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.

Beispiele [ wp-snippets.com ]

Top Google Suchergebnisse

Mehr ...

Nutzerduskussionen [ wordpress.org ]

0 Nutzerkommentare

Noch keine. Sei der Erste!

Neu hinzufügen ...



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