Assets
in package
Enqueue the stylesheet and JavaScript to support plugin specific functionality.
Tags
Table of Contents
Properties
- $instances : array<string|int, object>
- The array of instances of this class and sub-classes.
Methods
- enqueue_assets() : void
- Enqueue the assets for the login and related pages.
- get_instance() : object
- Creates and/or returns the instance of this class.
- register_styles() : void
- Register the stylesheets for the site login page.
- __construct() : void
- Initialise the class.
- add_site_logo() : string
- Return site logo markup for login page.
Properties
$instances
The array of instances of this class and sub-classes.
protected
static array<string|int, object>
$instances
= array()
Tags
Methods
enqueue_assets()
Enqueue the assets for the login and related pages.
public
enqueue_assets() : void
Tags
get_instance()
Creates and/or returns the instance of this class.
public
static get_instance() : object
Tags
Return values
object —The instance of this class.
register_styles()
Register the stylesheets for the site login page.
public
register_styles() : void
Tags
__construct()
Initialise the class.
protected
__construct() : void
Tags
add_site_logo()
Return site logo markup for login page.
protected
add_site_logo() : string
Tags
Return values
string —The background image URL