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 | |
/** | |
* Gravity Wiz // Disable HTML5 Validation on Gravity Forms | |
* http://gravitywiz.com/disable-html5-validation-on-gravity-forms/ | |
*/ | |
add_filter( 'gform_form_tag', 'add_no_validate_attribute_to_form_tag' ); | |
function add_no_validate_attribute_to_form_tag( $form_tag ) { | |
return str_replace( '>', ' novalidate="novalidate">', $form_tag ); | |
} |
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
alias composer="php /usr/local/bin/composer.phar" |