Skip to content

Commit ff2bd2d

Browse files
authored
gpapf-custom-format.php: Updated filter name with proper placeholder values.
1 parent 8d6db0d commit ff2bd2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-advanced-phone-field/gpapf-custom-format.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* uses the international number (e.g. `+1 757-123-4567`) as a base and formats it like so: `+1 757.123.4567`.
88
*/
99
// Update "123" to your form ID and "4" to your Phone field ID.
10-
add_action( 'gform_save_field_value_983_1', function( $value, $entry, $field, $form, $input_id ) {
10+
add_action( 'gform_save_field_value_123_4', function( $value, $entry, $field, $form, $input_id ) {
1111

1212
if ( ! is_callable( 'gp_advanced_phone_field' ) || ! class_exists( '\libphonenumber\PhoneNumberUtil' ) ) {
1313
return $value;

0 commit comments

Comments
 (0)