Created
May 9, 2020 19:05
-
-
Save Oscar-Abad-Folgueira/ec3953771169333f0ad8b831edbf274a to your computer and use it in GitHub Desktop.
WordPress Snippet: Cambiar cambiar url logo login
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 | |
/** | |
* @snippet WordPress Snippet: Cambiar cambiar url logo login | |
* @author Oscar Abad Folgueira | |
* @author_url https://www.oscarabadfolgueira.com | |
* @snippet_url https://www.oscarabadfolgueira.com/wordpress-snippet-cambiar-la-url-del-logo-login/ | |
*/ | |
add_filter( 'login_headerurl', 'oaf_my_login_logo_url' ); | |
function oaf_my_login_logo_url ($url) { | |
return 'http://www.oscarabadfolgueira.com'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment