Created
March 23, 2020 07:05
-
-
Save ibndawood/9b710329944076ecce01fa0ec363c0d2 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