Kako mogu obrisati broj telefona da se ne prikazuje prilikom registracije, pokusavam da editujem kod ali mi ne ide… uspeo sam da nadjem fajl user-util.php a ovo je kod vezano za phone
if( $slug == ‘phone’ ){
if( !preg_match(’/^[\d±\s().]$/’, $POST[$slug]) ){
$error->add(‘4’, sprintf(esc_html_(‘Invalid phone number, please try again.’, ‘tourmaster’), $field[‘title’]));
}
}else if( !empty($_POST[$slug]) && !in_array($field[‘type’], array(‘email’, ‘password’, ‘confirm-password’)) ){
if( preg_match(’/[£^$%&}{@#~?><|=+]/’, $POST[$slug]) ){
$error->add(‘3’, sprintf(esc_html_(‘Special characters is not allowed in “%s”.’, ‘tourmaster’), $field[‘title’]));
}
}
i
‘phone’ => array(
‘title’ => esc_html__(‘Phone’, ‘tourmaster’),
‘type’ => ‘text’,
‘required’ => true
),