Created
May 25, 2018 10:54
-
-
Save torbentschechne/8b45785974adaf7016699a56e7f50830 to your computer and use it in GitHub Desktop.
Remove a parent's theme hook
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
function child_remove_parent_function() { | |
remove_action( 'woocommerce_single_product_summary', 'sf_product_share', 45); | |
} | |
add_action( 'wp_loaded', 'child_remove_parent_function' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment