ZI Hide price and add to cart for WooCommerce

This WP plugin hides price and add to cart button for WooCommerce products under a specific category (or specific categories ) which you can choose.

v1.5.0zeninvaderUpdated Added 1k+ installs78% rating
87
Score
15
Errors
7
Warnings
+0
Change

Category Scores

Security84
Repo91
Performance100
Maintainability85

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

22 findings

Maintainability

14

5 issue groups

I18n

4

3 issue groups

Security

2

1 issue group

Repo Compliance

2

2 issue groups

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_term_meta()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.0.1.6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Function "get_term_meta()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.0.1.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_zi_woo_hide_price_cart".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_zi_woo_hide_price_cart".

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.2
Category
Security
Occurrences
2
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'zi-hide-price-and-add-to-cart-for-woocommerce' but got 'zinv'.2
Category
I18n
Occurrences
2
Severity
error

Sample message

Mismatched text domain. Expected 'zi-hide-price-and-add-to-cart-for-woocommerce' but got 'zinv'.

WARNINGI18nDiscouraged text-domain loadingload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woocommerce_' . $product->get_type() . '_add_to_cart".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woocommerce_' . $product->get_type() . '_add_to_cart".

ERRORMaintainabilityinvalid plugin namePlugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Plugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.4 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.4 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGRepo Compliancereadme parser warnings no short description presentThe "Short Description" section is missing. An excerpt was generated from your main plugin description.1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is missing. An excerpt was generated from your main plugin description.

Show 1 more
WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "zi-woo-hide-price-cart", expected "zi-hide-price-and-add-to-cart-for-woocommerce".

External Connections

Potential connections found in static code analysis.

4 domains

Outbound calls

16

External assets

0

Incoming endpoints

0

Notable Domains

zeninvader.com13 · outbound
semver.org1 · outbound

Platform / Reference Domains

github.com1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.5.0

87

Latest

Findings
22
Errors
15
Warnings
7
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins