@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | use Flynt\ComponentManager; |
| 6 | 6 | use Flynt\Utils\Asset; |
| 7 | 7 | |
| 8 | -add_action('login_enqueue_scripts', function () { |
|
| 8 | +add_action('login_enqueue_scripts', function() { |
|
| 9 | 9 | $logo = [ |
| 10 | 10 | 'src' => get_theme_mod('custom_header_logo') ? get_theme_mod('custom_header_logo') : Asset::requireUrl('Components/FeatureAdminLoginBranding/Assets/logo.svg'), |
| 11 | 11 | 'alt' => get_bloginfo('name') |
@@ -32,12 +32,12 @@ discard block |
||
| 32 | 32 | ]); |
| 33 | 33 | }, 99); |
| 34 | 34 | |
| 35 | -add_filter('login_headerurl', function () { |
|
| 35 | +add_filter('login_headerurl', function() { |
|
| 36 | 36 | ; |
| 37 | 37 | return home_url(); |
| 38 | 38 | }); |
| 39 | 39 | |
| 40 | -add_filter('login_headertext', function () { |
|
| 40 | +add_filter('login_headertext', function() { |
|
| 41 | 41 | ; |
| 42 | 42 | return get_bloginfo('name') . get_bloginfo('description'); |
| 43 | 43 | }); |