Remove Add to Cart Button for WooCommerce 2.1.4

Does "Remove Add to Cart Button for WooCommerce" work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 124.6 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 600+
WordPress.org page https://wordpress.org/plugins/remove-add-to-cart-button-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

‹ Test site — WordPress

Page screenshot: ‹ Test site — WordPress
URL /wp-admin/admin.php?page=remove-add-to-cart-button-for-woocommerce
Requested URL /wp-admin/plugins.php?action=activate&plugin=remove-add-to-cart-button-for-woocommerce%2Fremove-add-to-cart-button-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=e282735050
Aspect after-activation
HTTP status 200
Load time 0.452 s
Memory usage 3.76 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.198 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.335 s0.295 s-0.040 s3.51 MiB3.68 MiB+ 176.55 KiB
/wp-admin/edit.php0.195 s0.186 s-0.009 s3.57 MiB3.71 MiB+ 135.84 KiB
/wp-admin/post-new.php0.762 s0.619 s-0.143 s6.06 MiB6.24 MiB+ 179.87 KiB
/wp-admin/upload.php0.563 s0.301 s-0.262 s3.52 MiB3.62 MiB+ 99.88 KiB
/wp-admin/options-writing.php0.197 s0.192 s-0.005 s3.5 MiB3.6 MiB+ 103.96 KiB
/wp-admin/media-new.php0.272 s0.228 s-0.044 s3.49 MiB3.6 MiB+ 112.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.374 s+0.185 s3.51 MiB3.62 MiB+ 117.3 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.667 s+0.063 s6.05 MiB6.22 MiB+ 175.14 KiB
/wp-admin/options-discussion.php0.328 s0.262 s-0.066 s3.5 MiB3.6 MiB+ 100.46 KiB
/wp-admin/edit-comments.php0.199 s0.224 s+0.025 s3.52 MiB3.62 MiB+ 99.96 KiB
/0.298 s0.205 s-0.093 s3.43 MiB3.5 MiB+ 69.57 KiB
Average 0.358 s0.323 s-0.035 s3.97 MiB4.09 MiB+ 124.6 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP86.1%75660210
CSS7.2%6382
JavaScript6.7%59542
Total 878 664 14

PHP Code Analysis | More results »

Lines of code 737
Total complexity 162
Median class complexity 7.0
Median method complexity 1.0
Most complex class Remove_Add_To_Cart_Button_Woocommerce_Public
Most complex function Remove_Add_To_Cart_Button_Woocommerce_Public::ratcw_hide_price_for_product()
Classes 7
Methods 39
Functions 9

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 4

PHP Error Log 1 lines

[08-May-2025 14:56:38 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 41
See also: All tests for this plugin