The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
45 views

Get the User ID Who Owns a Given Blog ID in Multisite

I am working on creating a function that will take a $blog_id and return the corresponding $user_id of the user who owns/created the blog in a multi site network. public function ...
0
votes
0answers
40 views

get_current_blog_id returns 1 in multisite setting

I am encountering rather a weirdo situation here. I am currently on a multisite and created a site. This site has a blog id of 3. However, whenever I call get_current_blog_id() it returns 1 (which is ...
0
votes
0answers
50 views

How to get blog id of a post from admin panel?

I have multi-site and using add_attachment($post_id) hook to get the $post_id whenever a binary file is uploaded. I need to figure out the $blog_id of that post. How would I go about doing this? I ...