Skip to content

Instantly share code, notes, and snippets.

@somewherewarm-snippets
Last active November 17, 2021 14:29
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 somewherewarm-snippets/c3fbf2f427248d69ffa78b68ba1b42d8 to your computer and use it in GitHub Desktop.
Save somewherewarm-snippets/c3fbf2f427248d69ffa78b68ba1b42d8 to your computer and use it in GitHub Desktop.
All Products for WooCommerce Subscriptions snippet for hiding cart item subscription options.
<?php
/**
* Plugin Name: All Products for WooCommerce Subscriptions - Hide Cart Item Subscription Options
* Plugin URI: https://woocommerce.com/products/all-products-for-woocommerce-subscriptions/
* Description: Use this snippet to hide cart item subscription options.
* Version: 1.0
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Developer: Jason Kytros
*
*
* Copyright: © 2021 Automattic.
* 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