change login photo wordpress logo code example
Example: Wordpress login page Background Image / Logo Image
function fusion_login_page_styles() {
echo '<style>.login h1 a{background-image: url('.get_template_directory_uri().'/assets/img/logo.png) !important}</style>' ;
?>
<style>
.login.login-action-login{position: relative; height: 100vh; overflow: hidden; background-image: url(<?php echo get_template_directory_uri();?>/assets/img/back_1.jpg);}
}
add_action( 'login_enqueue_scripts', 'fusion_login_page_styles' );