-
-
Save renrax/776480c0ee7e6fd727d12373ea1fcbdf to your computer and use it in GitHub Desktop.
Electro v2 - Remove Wishlist and Compare from Header Icons
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
add_action( 'init', 'ec_child_edit_header_icons', 20 ); | |
function ec_child_edit_header_icons() { | |
remove_action( 'electro_header_icons', 'electro_compare_header_icon', 70 ); | |
remove_action( 'electro_header_icons', 'electro_wishlist_header_icon', 80 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment