pfeifferNet

Assets
in package

Enqueue the stylesheet and JavaScript to support plugin specific functionality.

Tags
since
6.0.0

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 resources for the public-facing side of the site.
get_instance()  : object
Creates and/or returns the instance of this class.
register_styles()  : void
Register the stylesheets for the public-facing side of the site.
__construct()  : void
Initialise the class.

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

enqueue_assets()

Enqueue the resources for the public-facing side of the site.

public enqueue_assets() : void
Tags
since
1.0.0
since
5.12.0

Added lightbox script.

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 public-facing side of the site.

public register_styles() : void
Tags
since
1.0.0
since
5.9.0

Changed cache busting strategy.

since
6.2.0

Moved from common to frontend.

uses
get_asset_path()
uses
get_asset_url()
uses
get_asset_version()

__construct()

Initialise the class.

protected __construct() : void
Tags
since
5.11.0
since
6.0.0

Add asset locations.


        
On this page

Search results