Frontend_Scripts implements Registerable

Loads the scripts and styles needed on the front-end.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable

Table of Contents

$plugin_url  : mixed
$version  : mixed
__construct()  : mixed
Constructor.
load_scripts()  : mixed
Enqueues the scripts and styles in WP.
register()  : mixed
{@inheritdoc}
register_scripts()  : mixed
Registers the scripts and styles in WP.

Properties

Methods

__construct()

Constructor.

public __construct(string $plugin_url, float $version) : mixed
Parameters
$plugin_url : string
$version : float
Return values
mixed

load_scripts()

Enqueues the scripts and styles in WP.

public load_scripts() : mixed
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Return values
mixed

register_scripts()

Registers the scripts and styles in WP.

public register_scripts() : mixed
Return values
mixed

Search results