Posts_Table_Frontend_Scripts extends Frontend_Scripts
Responsible for registering the front-end styles and scripts in Posts Table Pro.
Tags
Table of Contents
- DATATABLES_VERSION = '1.12.1'
- SCRIPT_HANDLE = 'posts-table-pro'
- $plugin : mixed
- $script_version : mixed
- __construct() : mixed
- is_required() : bool
- Is this object required?
- load_head_scripts() : mixed
- load_photoswipe_template() : mixed
- load_scripts() : mixed
- load_table_scripts() : mixed
- register() : void
- Register this object with WordPress.
- register_scripts() : mixed
- register_styles() : mixed
- register_table_scripts() : mixed
- build_custom_styles() : mixed
- valid_color_size_setting() : mixed
Constants
DATATABLES_VERSION
public
mixed
DATATABLES_VERSION
= '1.12.1'
SCRIPT_HANDLE
public
mixed
SCRIPT_HANDLE
= 'posts-table-pro'
Properties
$plugin
private
mixed
$plugin
$script_version
private
mixed
$script_version
Methods
__construct()
public
__construct(Plugin $plugin) : mixed
Parameters
- $plugin : Plugin
Return values
mixed —is_required()
Is this object required?
public
is_required() : bool
Return values
bool —true if required, false otherwise.
load_head_scripts()
public
load_head_scripts() : mixed
Return values
mixed —load_photoswipe_template()
public
static load_photoswipe_template() : mixed
Return values
mixed —load_scripts()
public
static load_scripts() : mixed
Tags
Return values
mixed —load_table_scripts()
public
static load_table_scripts([Table_Args $args = null ]) : mixed
Parameters
- $args : Table_Args = null
Return values
mixed —register()
Register this object with WordPress.
public
register() : void
Return values
void —register_scripts()
public
register_scripts() : mixed
Return values
mixed —register_styles()
public
register_styles() : mixed
Return values
mixed —register_table_scripts()
public
static register_table_scripts(Posts_Table_Args $args) : mixed
Parameters
- $args : Posts_Table_Args
Tags
Return values
mixed —build_custom_styles()
private
build_custom_styles(mixed $options, mixed $table_class) : mixed
Parameters
- $options : mixed
- $table_class : mixed
Return values
mixed —valid_color_size_setting()
private
valid_color_size_setting(mixed $color_size) : mixed
Parameters
- $color_size : mixed