Created
July 31, 2017 02:38
-
-
Save deryckoe/31ef07cd1177f41068917466b17e1c6c to your computer and use it in GitHub Desktop.
Modifica url a http://wordpress.org en login por url del sitio web
This file contains 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
<?php | |
/** | |
* | |
* Modifico url de logo en pagina de login a url del sitio web. | |
* | |
* @param $url | |
* | |
* @return string | |
* | |
*/ | |
function wpe_login_logo_url( $url ) { | |
return get_bloginfo( 'url' ); | |
} | |
add_filter( 'login_headerurl', 'wpe_login_logo_url' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment