Skip to content

Instantly share code, notes, and snippets.

@yratof
Created February 24, 2015 10:10
Show Gist options
  • Save yratof/035acfb94df3abe3f8bb to your computer and use it in GitHub Desktop.
Save yratof/035acfb94df3abe3f8bb to your computer and use it in GitHub Desktop.
wp-members change forgot password text
/*
Change "Forgot Password" Text, but keep the links
*/
add_filter( 'wpmem_forgot_link_str', 'my_forgot_link' );
function my_forgot_link( $str ) {
$link = apply_filters( 'wpmem_forgot_link', wpmem_chk_qstr( WPMEM_MSURL ) . 'a=pwdreset' );
return '<a href="' . $link . '">' . __( 'Lost Password?', 'wp-members' ) . '</a>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment