Settings_Scripts implements Registerable
Registers the tooltip assets
Tags
Interfaces, Classes and Traits
- Registerable
- An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter().
Table of Contents
- $plugin : Plugin
- The plugin object.
- __construct() : mixed
- Constructor.
- load_scripts() : mixed
- Load any scripts required by settings fields.
- register() : void
- Register this object with WordPress.
Properties
$plugin
The plugin object.
private
Plugin
$plugin
Methods
__construct()
Constructor.
public
__construct(Plugin $plugin) : mixed
Parameters
- $plugin : Plugin
Return values
mixed —load_scripts()
Load any scripts required by settings fields.
public
load_scripts() : mixed
Return values
mixed —register()
Register this object with WordPress.
public
register() : void