Skip to content

Instantly share code, notes, and snippets.

@jimjasson
Created October 3, 2019 13:07
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 jimjasson/9e413c1448402e35c2c964c063c814de to your computer and use it in GitHub Desktop.
Save jimjasson/9e413c1448402e35c2c964c063c814de to your computer and use it in GitHub Desktop.
woocommerce-apfs-hide-subscription-options-in-cart.php
<?php
/**
* Plugin Name: All Products for WooCommerce Subscriptions - Hide Subscription options in the cart
* Plugin URI: https://woocommerce.com/products/all-products-for-woocommerce-subscriptions/
* Description: Use this snippet to prevent Subscription options from showing up in the cart.
* Version: 1.0
* Author: SomewhereWarm
* Author URI: http://somewherewarm.gr/
* Developer: Jason Kytros
*
*
* Copyright: © 2019 Jason Kytros (jask@somewherewarm.gr).
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
add_filter( 'wcsatt_show_cart_item_options', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment