public function loginHeaderAccessManagement($args)
    {
        if (!$args) {
            return;
        }

        // Define defaults
        $configs = array_merge([
            'url'     => OL_ZEUS_HOME,
            'title'   => OL_ZEUS_NAME,
        ], $args);

        // Change login head URL
        add_filter('login_headerurl', function () use ($configs) {
            if (!empty($configs['url'])) {
                return $configs['url'];
            }
        });

        // Change login head title
        add_filter('login_headertitle', function () use ($configs) {
            if (!empty($configs['title'])) {
                return $configs['title'];
            }
        });
    }
public function loginHeaderAccessManagement($args)
    {
        if (!$args) {
            return;
        }

        // Define defaults
        $configs = array_merge([
            'url'     => OL_ZEUS_HOME,
            'title'   => OL_ZEUS_NAME,
        ], $args);

        // Change login head URL
        add_filter('login_headerurl', function () use ($configs) {
            if (!empty($configs['url'])) {
                return $configs['url'];
            }
        });

        // Change login head title
        add_filter('login_headertitle', function () use ($configs) {
            if (!empty($configs['title'])) {
                return $configs['title'];
            }
        });
    }
public function loginHeaderAccessManagement ( $ args ) { if ( ! $ args ) { return ; } // Define defaults $ configs = array_merge ( [ 'url' => OL_ZEUS_HOME , 'title' => OL_ZEUS_NAME , ] , $ args ) ; // Change login head URL add_filter ( 'login_headerurl' , function ( ) use ( $ configs ) { if ( ! empty ( $ configs [ 'url' ] ) ) { return $ configs [ 'url' ] ; } } ) ; // Change login head title add_filter ( 'login_headertitle' , function ( ) use ( $ configs ) { if ( ! empty ( $ configs [ 'title' ] ) ) { return $ configs [ 'title' ] ; } } ) ; }
Redisign wp-login.php page with custom header configurations.

@param array $args
Redisign wp - login . php page with custom header configurations .