PHP code example of hyyan / login-style

1. Go to this page and download the library: Download hyyan/login-style library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hyyan / login-style example snippets


$default = array(

    // path relative to the theme dir
    // (could be a php file which output css markup)
    'path' => '/css/login.css',

    // check the remember me checkbox
    'check_remember_me' => true,
);

// in the your theme's functions.php file

add_filter('Hyyan\LoginStyle.options', function(array $default) {

    $default['path'] = '/my-login-style.css';

    return $default;
});