Table_Generator implements Registerable
This class handles the registration of the table generator library.
Tags
Interfaces, Classes and Traits
- Registerable
Table of Contents
- $plugin : Plugin
- Instance of the plugin.
- __construct() : mixed
- Get things started.
- create_table() : void
- init() : void
- Init the table generator library.
- register() : void
- Hook into WP.
Properties
$plugin
Instance of the plugin.
protected
Plugin
$plugin
Methods
__construct()
Get things started.
public
__construct(Plugin $plugin) : mixed
Parameters
- $plugin : Plugin
Return values
mixed —create_table()
public
static create_table(mixed $title[, mixed $settings = [] ][, mixed $is_completed = 1 ]) : void
Parameters
- $title : mixed
- $settings : mixed = []
- $is_completed : mixed = 1
Return values
void —init()
Init the table generator library.
public
init() : void
Return values
void —register()
Hook into WP.
public
register() : void