2020-05-02 / 4667阅 / 悠然
激活多个插件。
返回WP_Error时,并不意味着>
(string|string[])
(Required)
Single plugin or list of plugins to activate.
(string)
(Optional)
Redirect to page after successful activation.
Default value: ''
(bool)
(Optional)
Whether to enable the plugin for all sites in the network.
Default value: false
(bool)
(Optional)
Prevent calling activation hooks.
Default value: false
(bool|WP_Error) True when finished or WP_Error if there were errors during a plugin activation.