URGENT: GLITCH
-
Ever since you updated the ultimate member, my form is not displaying the phone number at all. After looking at the code, I found these issues.
I have a custom function that is hooked in using your provided hooks, and it’s shown at the bottom for verification purposes. It just makes the phone number look pretty and adds an SMS link.
The problem is, this is what is now getting fed as a value into the function.
81855551008185555100
There’s 2 phone numbers back-to-back, and when try to echo it inside my function, it will display 3 phone numbers back-to-back.
818555510081855551008185555100
This is making it not work. I’m not sure what you did but if you could get it fixed soon that would be awesome.
Everything was working prior to the update, as of 2 weeks ago.
add_filter('um_profile_field_filter_hook__mobile_number', 'um_profile_field_filter_hook__mobile_number', 99, 2); function um_profile_field_filter_hook__mobile_number( $value, $data ) { $raw = deformat_phone($value); $value = format_phone( $value ); $output = "<a href='tel:".$raw."' onclick='phone_contact_conversion()'>".$value."</a>"; return $output; }- This topic was modified 3 years, 9 months ago by .
- This topic was modified 3 years, 9 months ago by .
The page I need help with: [log in to see the link]
The topic ‘URGENT: GLITCH’ is closed to new replies.