Activation flow of a plugin in a multisite environment

I'm learning plugin development and I came across this issue where I need to activate my custom plugin and from my research on this topic there are three possible scenarios:

  1. Network admin activates the plugin for the whole network
  2. Network admin or site admin activate the plugin for a specific site
  3. Regular single site installation activation flow When I activate the plugin as a network admin the plugin is activated only for the site with $blog_id = 1. other sites mark the activate state as activated but the plugins' settings tab isn't showing in settings. How and where can I start debugging this issue?

Topic activation multisite plugin-development hooks plugins Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.