Created
February 24, 2015 10:10
-
-
Save yratof/035acfb94df3abe3f8bb to your computer and use it in GitHub Desktop.
wp-members change forgot password text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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