The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
26 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
20 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
37 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 ...
0
votes
0answers
20 views

How to detect if website has a mapped domain attached to it on multisite network

I'm trying to to detect if a website has a mapped domain attached to it on a multisite network. If not, disable search engine visibility. This is what I have so far: //* Disable search engine ...