Skip to content

Commit ef8d954

Browse files
authored
Update wc-performance-improvements.php
Update the version and disable payment gateway admin suggestions.
1 parent 83854d8 commit ef8d954

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wc-performance-improvements.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Performance Improvements for WooCommerce
44
* Plugin URI: https://github.com/lukecav/performance-improvements-for-woocommerce
55
* Description: Performance tweaks for WooCommerce.
6-
* Version: 1.1.16
6+
* Version: 1.1.17
77
* Author: Luke Cavanagh
88
* Author URI: https://github.com/lukecav
99
* Requires at least: 5.6
@@ -122,3 +122,6 @@ function wc_hide_woocommerce_menus() {
122122

123123
// Delete the WooCommerce usage tracker cron event
124124
wp_clear_scheduled_hook( 'woocommerce_tracker_send_event' );
125+
126+
// Disable the Payment Gateway Admin Suggestions
127+
add_filter('woocommerce_admin_payment_gateway_suggestion_specs', '__return_empty_array');

0 commit comments

Comments
 (0)