Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Login/Registration
  5. Filter :wp_travel_lost_password_message

Filter :wp_travel_lost_password_message

WP Travel lost your password message.


File: /templates/form-lostpassword.php
Used by: /templates/form-lostpassword.php,

Default is ‘esc_html__( ‘Lost your password? Please enter your username or email
address. You will receive a link to create a new password via email.’, ‘wp-travel’ ) ’.


function prefix_wp_travel_lost_password_message( $comment_form ) {
    return esc_html__( ‘Please enter your email or username to
    create new password here and you will receive email.’, ‘wp-travel’
add_filter( 'wp_travel_lost_password_message', 'prefix_wp_travel_lost_password_message' );
Was this article helpful to you? Yes No

How can we help?