Created
August 6, 2020 17:07
-
-
Save hedqvist/c7e40d75c8139c0fe7d793b56e0bb405 to your computer and use it in GitHub Desktop.
BankID - Dont display Cart Item Data
This file contains hidden or 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 | |
| /** | |
| * @snippet WooCommerce - BankID - Dont display "Age verification: Via BankID" in cart and meta. | |
| * @author Redlight Media AB / Christopher Hedqvist | |
| * @compatible WooCommerce 4.1.1 | |
| */ | |
| add_filter( 'redlight_bid_woocommerce_display_cart_item_data', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment