0

I use this code to edit the titlebar in the admin pages:

add_filter('admin_title', 'my_admin_title', 10, 2);

function my_admin_title($admin_title, $title)
{
return 'Example.com'.' • '.$title.' ‹ '.get_bloginfo('name'); 
}

Which works great, but I still can't figure out how to do the same with the title bar which appears on the Log in / Registration in the frontend.

0

Thank you mysticalghoul.

This was the answer:

function custom_login_title( $login_title ) {
return str_replace(array( ' ‹', ' — WordPress'), array( ' •', ' what ever you want'),$login_title );
}
add_filter( 'login_title', 'custom_login_title' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.