Created
March 9, 2015 16:30
-
-
Save mdemrs/421efb02c84808fa5e1b to your computer and use it in GitHub Desktop.
wp: Favicon in Wordpress admin
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
// Favicon in wordpress admin | |
function wpc_admin_favicon(){ | |
echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.get_stylesheet_directory_uri().'/img/favicon.ico" />'; | |
} | |
add_action('admin_head', 'wpc_admin_favicon'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment