Frontend_Scripts implements Service, Registerable, Conditional

Handles the registering of the front-end scripts.

Tags
author

Barn2 Plugins [email protected]

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Service
Marker interface to denote a service.
Registerable
An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter().
Conditional
An object which is loaded conditionally.

Table of Contents

$plugin  : mixed
__construct()  : mixed
is_required()  : bool
Is this object required?
register()  : mixed
register_scripts()  : mixed

Properties

Methods

__construct()

public __construct(mixed $plugin) : mixed
Parameters
$plugin : mixed
Return values
mixed

is_required()

Is this object required?

public is_required() : bool
Return values
bool

true if required, false otherwise.

register_scripts()

public register_scripts() : mixed
Return values
mixed

Search results