Created
April 3, 2025 10:15
-
-
Save pramodjodhani/7bd9d327660db0e72236ede19b2b9190 to your computer and use it in GitHub Desktop.
Flux checkout: disable T&C link accordion.
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 | |
/** | |
* Flux checkout: disable T&C link accordion. | |
*/ | |
function iconic_flux_disable_tnc_link_accordion() { | |
?> | |
<script> | |
jQuery(document).ready(function($) { | |
jQuery('.woocommerce-terms-and-conditions-link').removeClass('woocommerce-terms-and-conditions-link'); | |
}); | |
</script> | |
<?php | |
} | |
add_action( 'wp_footer', 'iconic_flux_disable_tnc_link_accordion' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment