[wp-trac] [WordPress Trac] #42511: register_activation_hook with MultiSite
WordPress Trac
noreply at wordpress.org
Wed Sep 23 06:08:20 UTC 2020
#42511: register_activation_hook with MultiSite
-----------------------------+------------------------
Reporter: tazotodua | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses: multisite
-----------------------------+------------------------
Changes (by markparnell):
* status: new => closed
* focuses: => multisite
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
@tazotodua it's not entirely clear what you're looking for here - since
[16011] the (de)activation hooks are passed the `$network_wide` parameter
which indicates whether the plugin is being network activated. This would
allow you to loop through the sub-sites as needed.
As such I'm closing this as a duplicate of #14170 for now. If I've
misunderstood or you have a use case which isn't covered by that, please
feel free to re-open this ticket and provide some more details. :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42511#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list