Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
//-> Do NOT include the opening php tag
// Custom admin dashboard header logo
add_action('admin_head', 'rvam_custom_admin_logo');
function rvam_custom_admin_logo() {
echo '<style type="text/css">#icon-index { background-image: url('.get_stylesheet_directory_uri().'/images/logo-dashboard.png) !important; background-position: 0 0;}</style>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.