Skip to content

Instantly share code, notes, and snippets.

@renrax
Forked from ibndawood/functions.php
Created February 2, 2022 20:16
Show Gist options
  • Save renrax/776480c0ee7e6fd727d12373ea1fcbdf to your computer and use it in GitHub Desktop.
Save renrax/776480c0ee7e6fd727d12373ea1fcbdf 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