0

I have a multisite. I am trying to create a simple plugin that will allow me to select website(blog) from the list of all website in my multisite.

How to show some image or notification(text or html code) on a specific blog based on what I have selected from the list. On each blog I can show different image or notification(text or html code).

I have found many ways how to get the lists of all the blogs in the multisite like here and here

My problem is, after I select a specific blog, how to show in the plugin dash only the image or notification(text or html code) that I am to to show to this blog.

1 Answer 1

0

check the get_current_blog_id function; that'll return the ID of the current blog.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.