[Resolved] register_activation_hook on multisite
Tried looking through at other threads but couldn’t find any help on this.
I am developing a plugin that uses
register_activation_hookand I have run into a few issues using it on multisite.
The install function that
r_a_hcalls is only run when network activated. I am looking for a way to get this to run when it is just activated on one site.
Failing this is there a way for me to check inside my install function whether it has been network activated so I can build into the script the correct database writes?
- The topic ‘[Resolved] register_activation_hook on multisite’ is closed to new replies.