Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Email
  5. Filter :wp_travel_registration_error_email_exists

Filter :wp_travel_registration_error_email_exists

Email already exists while registration error message.


File: /inc/wp-travel-user-functions.php
Used by: /inc/wp-travel-user-functions.php

Default is ‘__( ‘An account is already registered with your email address. Please log in.’,
‘wp-travel’ )’, $email


function prefix_wp_travel_registration_error_email_exists() {
    return ‘__( ‘This email has been already registered. Please
    use another one.’, ‘wp-travel’ )’;
add_filter( 'wp_travel_registration_error_email_exists', 'prefix_wp_travel_registration_error_email_exists' );
Was this article helpful to you? Yes No

How can we help?