/**
* WP Snippet Press - Custom Login Logo
*/
function wpsnippetpress_login_logo() { ?>
<style>
#login h1 a {
background-image: url('<?php echo get_stylesheet_directory_uri(); ?>/assets/images/logo.png');
background-size: contain;
width: 200px;
height: 80px;
}
</style>
<?php }
add_action('login_enqueue_scripts', 'wpsnippetpress_login_logo');PHP