Skip to content

Commit 1969d04

Browse files
authored
gpapf-disable-validation.php: Fixed an issue with Advanced Phone Number Validation Snippet not working.
1 parent ff2bd2d commit 1969d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-advanced-phone-field/gpapf-disable-validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
return;
1717
}
1818

19-
remove_filter( 'gform_validation', array( gp_advanced_phone_field(), 'validation' ) );
19+
remove_filter( 'gform_field_validation', array( gp_advanced_phone_field(), 'validation' ) );
2020
}, 16 );

0 commit comments

Comments
 (0)