pfeifferNet

Assets
in package

Enqueue the stylesheet and JavaScript to support plugin specific functionality.

Tags
since
5.9.0
since
5.11.0

Deprecated global singleton inheritance.

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
since
5.11.0

Methods

get_instance()

Creates and/or returns the instance of this class.

public static get_instance() : object
Tags
since
5.11.0
Return values
object

The instance of this class.

register_styles()

Register the stylesheets for the site login page.

public register_styles() : void
Tags
since
5.9.0
uses
get_asset_path()
uses
get_asset_url()
uses
get_asset_version()

__construct()

Initialise the class.

protected __construct() : void
Tags
since
5.11.0

Return site logo markup for login page.

protected add_site_logo() : string
Tags
since
5.6.0
Return values
string

The background image URL


        
On this page

Search results