- leave symbol +

This commit is contained in:
ashubawork
2022-07-15 10:08:30 +03:00
parent bc8a0b1f04
commit c8c7ee8fd9
-1
View File
@@ -108,7 +108,6 @@ add_filter( 'um_profile_field_filter_hook__vimeo_video', 'um_profile_field_filte
* @return int|string
*/
function um_profile_field_filter_hook__phone( $value, $data ) {
$value = str_replace('+', '', $value);
$value = '<a href="tel:' . esc_attr( $value ) . '" rel="nofollow" title="' . esc_attr( $data['title'] ) . '">' . esc_html( $value ) . '</a>';
return $value;
}