Frontend_Scripts implements Standard_Service, Registerable, Conditional

Handles the registering of the front-end scripts and stylesheets.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Standard_Service
Registerable
Conditional

Table of Contents

$plugin  : mixed
__construct()  : mixed
Constructor.
enqueue_assets()  : void
Enqueue the front-end assets.
is_required()  : bool
{@inheritdoc}
register()  : void
{@inheritdoc}
register_assets()  : void
Register the front-end assets.

Properties

Methods

enqueue_assets()

Enqueue the front-end assets.

public enqueue_assets() : void
Tags
Return values
void

is_required()

{@inheritdoc}

public is_required() : bool
Tags
Return values
bool

register()

{@inheritdoc}

public register() : void
Tags
Return values
void

register_assets()

Register the front-end assets.

public register_assets() : void
Tags
Return values
void

Search results