Created
December 2, 2019 10:10
-
-
Save hmowais/3962f2a49307ad9dd5cfe4dea6c96863 to your computer and use it in GitHub Desktop.
Remove Avada Hooks in Woocommerce
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
| <?php | |
| // https://theme-fusion.com/documentation/avada/woocommerce/override-avada-woocommerce-hooks/ | |
| function remove_woo_commerce_hooks() { | |
| global $avada_woocommerce; | |
| remove_action( 'woocommerce_single_product_summary', array( $avada_woocommerce, 'add_product_border' ), 19 ); | |
| } | |
| add_action( 'after_setup_theme', 'remove_woo_commerce_hooks' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment