Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Tagged: notification, plugin, update, WooCommerce
Since Symbiostock requires WooCommerce 2.5.5, just wanted to share a bit of code that will help us remember not to update WooCommerce to the latest version. This might also help prevent clients from wondering why all plugins on a site aren’t at their current versions.
This will go in your theme/child theme functions.php file:
// remove update notice for WooComerce plugin function remove_WC_update_notification( $value ) { if ( isset( $value ) && is_object( $value ) ) { unset( $value->response[ 'woocommerce/woocommerce.php' ] ); } return $value; } add_filter( 'site_transient_update_plugins', 'remove_WC_update_notification' );
Cool, I hope someone finds it useful. Got the idea for looking that up after seeing the option to disable the Woo updater prompt.
You must be logged in to reply to this topic.