Skip to content

Instantly share code, notes, and snippets.

@thenbrent
Last active January 2, 2016 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thenbrent/8247877 to your computer and use it in GitHub Desktop.
Save thenbrent/8247877 to your computer and use it in GitHub Desktop.
WooCommerce Subscriptions 1.4 disabled some features on larger sites (i.e. sites with more than 2,500 subscriptions). This plugin can be used to enable these features if you are confident your server has enough resources to allow them to work correctly.
<?php
/**
* Plugin Name: WooCommerce Subscriptions Enable Search
* Description: Enable the subscription search and sort by next payment date features on large sites. <a href="http://docs.woothemes.com/document/subscriptions/faq/#section-60">Learn More</a>.
* Author: Brent Shepherd
* Version: 1.0
* License: GPL v2
*/
add_filter( 'woocommerce_subscriptions_is_large_site', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment