add('phone_error', __( 'ERROR: Enter valid phone number.', 'crf' )); }; } public static function modify_user_contact_methods($user_contact){ $user_contact['phone'] = __( 'Phone number' ); return $user_contact; } } Wiaas_Admin_Profile::init();