Tag Info

Hot answers tagged


Here's one way to add this feature using the following flowline : The admin updates the user option page: -> edit_user_profile_update or personal_options_update hooks activated -> edit_user() function is called -> wp_update_user() function is called within edit_user() -> wp_insert_user() function is called within wp_update_user() ...


From: is just another mail header. You need to concatenate this with your current $headers and pass it as one argument to mail(): $headers = "From: $sender <$senderEmail>\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; // la de da mail( $recipient, $subject, $mailBody, $headers );


I think you're looking for the retrieve_password_title filter. For example: add_filter( 'retrieve_password_title', function( $title ) { $title = __( 'WPSE Custom Password Reset' ); return $title; } );


There are a few ways to accomplish this; 1) [easy] Send your user to the login screen and have them initiate the forgot password process 2) [moderate] Plugins (there are a few) free WordPress plugins, this looks useful, or you could search http://wordpress.org/plugins/search.php?q=reset+password and probably lots of commercial ones, but here is one 3) ...

Only top voted, non community-wiki answers of a minimum length are eligible