Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Only one blog for user


Burt Adsit
Participant

@burtadsit

Hey nicola, There are hooks for blog creation but wp doesn’t record the fact that ‘this user created this blog’. wp’s get_blogs_of_user() returns blogs where the user has any role. Being an ‘administrator’ in a user meta wp_BLOGID_capabilities list doesn’t mean the user created that blog.

The creation process has to be recorded somewhere and the only place is in bp’s bp_user_blogs table. As far as I know. Be more than happy to learn otherwise. I learn something new every day around here. :)

Skip to toolbar