Skip to content

Instantly share code, notes, and snippets.

@ibndawood
Created March 23, 2020 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ibndawood/9b710329944076ecce01fa0ec363c0d2 to your computer and use it in GitHub Desktop.
Save ibndawood/9b710329944076ecce01fa0ec363c0d2 to your computer and use it in GitHub Desktop.
Electro v2 - Remove Wishlist and Compare from Header Icons
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