Skip to content

Instantly share code, notes, and snippets.

@claudiosanches
Created August 29, 2012 22:34
Show Gist options
  • Save claudiosanches/3519771 to your computer and use it in GitHub Desktop.
Save claudiosanches/3519771 to your computer and use it in GitHub Desktop.
Modificar nome e link do logo no wp-login.php
<?php
function meu_wp_login_url() {
return get_bloginfo('url');
}
add_filter('login_headerurl', 'meu_wp_login_url');
function meu_wp_login_title() {
return get_bloginfo('name');
}
add_filter('login_headertitle', 'meu_wp_login_title');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment