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:
- Network admin activates the plugin for the whole network
- Network admin or site admin activate the plugin for a specific site
- 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