woocommerce_admin_plugins_pre_activate

woocommerce_admin_plugins_pre_activate

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_admin_plugins_pre_activate') is found 1 times:

  • /src/Admin/PluginsHelper.php line 435
    		 * @param array $plugins A list of the plugins to activate.
    		 *
    		 * @since 6.4.0
    		 */
    		$plugins = apply_filters( 'woocommerce_admin_plugins_pre_activate', $plugins );
    
    		$plugin_paths      = self::get_installed_plugins_paths();
    		$errors            = new WP_Error();
    		$activated_plugins = array();
    
    		foreach ( $plugins as $plugin ) {
    

See this hook used in plugins: