function include_regForm_validation() {
?>
<style>
.woocommerce-billing-fields h3 {
color: #133196;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript">
// Code that uses jQuery's $ can follow here.
$(window).on('load', function() {
//$('#your_products_heading').html('Type of membership');
$('.woocommerce-billing-fields > h3').html('');
});
// Code that uses other library's $ can follow here.
</script>
<?php
}
add_action( 'wp_enqueue_scripts', 'include_regForm_validation' );
Leave a reply