Created
November 9, 2018 06:00
-
-
Save akther80/9e14ed667c080a1c9fd651b20ecffa2f to your computer and use it in GitHub Desktop.
Electro v2 - Remove compare icon
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_remove_compare_button_in_loop' ); | |
function ec_child_remove_compare_button_in_loop() { | |
remove_action( 'electro_loop_action_buttons', 'electro_add_to_compare_link', 20 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment