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 ...
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 ...
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 ...