Frontend_Scripts implements Service, Registerable, Conditional

Responsible for registering the front-end styles and scripts in Posts Table Pro.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Service
Registerable
Conditional

Table of Contents

DATATABLES_VERSION  = '1.13.1'
SCRIPT_HANDLE  = 'document-library-pro'
$plugin  : mixed
$script_version  : mixed
__construct()  : mixed
is_required()  : mixed
load_head_scripts()  : mixed
load_photoswipe_template()  : mixed
load_table_scripts()  : mixed
register()  : mixed
register_scripts()  : mixed
register_styles()  : mixed
build_custom_styles()  : mixed
valid_color_size_setting()  : mixed

Constants

Properties

Methods

__construct()

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

load_head_scripts()

public load_head_scripts() : mixed
Tags
Return values
mixed

load_photoswipe_template()

public static load_photoswipe_template() : mixed
Tags
Return values
mixed

register_scripts()

public register_scripts() : mixed
Tags
Return values
mixed

register_styles()

public register_styles() : mixed
Tags
Return values
mixed

build_custom_styles()

private build_custom_styles(mixed $options, mixed $table_class) : mixed
Parameters
$options : mixed
$table_class : mixed
Tags
Return values
mixed

valid_color_size_setting()

private valid_color_size_setting(mixed $color_size) : mixed
Parameters
$color_size : mixed
Tags
Return values
mixed

Search results