|
@@ -1,4 +1,4 @@
|
|
|
-<?php
|
|
|
+<?php
|
|
|
|
|
|
|
|
|
add_filter('gform_field_content', 'boot_gf', 10, 5);
|
|
@@ -23,21 +23,6 @@ function boot_gf ($content, $field, $value, $lead_id, $form_id) {
|
|
|
return $content;
|
|
|
}
|
|
|
|
|
|
-add_filter("gform_init_scripts_footer", "init_gscripts");
|
|
|
-function init_gscripts() {
|
|
|
- return true;
|
|
|
-}
|
|
|
-
|
|
|
-add_action( 'wp_print_scripts', 'dw_deregister_gf_js', 100 );
|
|
|
-function dw_deregister_gf_js() {
|
|
|
- if( is_page( 'contact' ) ) {
|
|
|
- //wp_deregister_script( 'gform_conditional_logic' );
|
|
|
- //wp_deregister_script( 'gform_json' );
|
|
|
- //wp_deregister_script( 'gform_datepicker_init' );
|
|
|
- //wp_deregister_script( 'gforms_stripe_frontend' );
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
add_filter('gform_validation_message', 'change_validation_message', 10, 2);
|
|
|
function change_validation_message($message, $form)
|
|
|
{
|