You misunderstood me, I need to make Email an optional field when registering a new user on the registration page.
Refers to this code in the file: form-login.php and form-registration.php
I used the plugin:
https://www.ads-software.com/plugins/optional-email/
It works everywhere except your registration form.
<div class="form-group">
<label for="rtcl-reg-email" class="control-label">
<?php esc_html_e( 'Email', 'classified-listing' ); ?>
<strong class="rtcl-required">*</strong>
</label>
<input type="email" name="email"
value="<?php echo ( ! empty( $_POST['email'] ) ) ? esc_attr( wp_unslash( $_POST['email'] ) ) : ''; ?>"
autocomplete="email" id="rtcl-reg-email" class="form-control" required/>
</div>