Frontend_Scripts
in package
implements
Service, Registerable, Conditional
Handles the registering of the front-end scripts.
Tags
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
$plugin
private
mixed
$plugin
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()
public
register() : mixed
Return values
mixed —register_scripts()
public
register_scripts() : mixed