Created
October 3, 2019 13:07
-
-
Save jimjasson/9e413c1448402e35c2c964c063c814de to your computer and use it in GitHub Desktop.
woocommerce-apfs-hide-subscription-options-in-cart.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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