Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Hide/remove Log In & Lost Password text add this below code on your theme/child-theme's functions.php file */
- /** hide login text **/
- function remove_login_text ( $text ) {
- if ($text == 'Log In'){$text = '';}
- return $text;
- }
- add_filter( 'gettext', 'remove_login_text' );
- /** hide lost password text **/
- function remove_lostpassword_text ( $text ) {
- if ($text == 'Lost Password'){$text = '';}
- return $text;
- }
- add_filter( 'gettext', 'remove_lostpassword_text' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement