tombroucke/zoocommerce-optimizer

There is no license information available for the latest version (1.2.0) of this package.

Optimize WooCommerce install for performance

Installs: 212

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:wordpress-plugin

1.2.0 2024-01-23 08:53 UTC

This package is auto-updated.

Last update: 2024-01-23 08:55:02 UTC


README

This plugin disables WooCommerce packages. Usefull if you are developing a custom theme and don't want to load all the packages. Some features are not needed in the admin area.

Installation

Composer

composer require tombroucke/zoocommerce-optimizer

Enable analytics

add_filter('zoocommerce_optimizer_remove_admin_features', function ($removeFeatures) {
    return array_filter($removeFeatures, function ($feature) {
        return $feature !== 'analytics';
    });
});

Why ZooCommerce

This plugin needs to load later than WooCommerce. Z > W.