Created
April 17, 2019 14:41
-
-
Save plugin-republic/b64021f1c646ac7ede9dcf0145c952d7 to your computer and use it in GitHub Desktop.
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 | |
// Replace HTTP with HTTPS in arrow resource | |
function prefix_filter_cart_remove_linked_product( $arrow_right, $cart_item_key ) { | |
return str_replace( 'http://', 'https://', $arrow_right ); | |
} | |
add_filter( 'pewc_filter_cart_remove_linked_product', 'prefix_filter_cart_remove_linked_product', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment