Admin_Controller
in package
implements
Service, Registerable, Conditional
Handles general admin functions, such as adding links to our settings page in the Plugins menu.
Tags
Interfaces, Classes and Traits
- Service
- Marker interface to denote a service.
- Registerable
- An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter().
- Conditional
- An object which is loaded conditionally.
Table of Contents
- $plugin : mixed
- __construct() : mixed
- get_services() : mixed
- is_required() : bool
- Is this object required?
- register() : mixed
- register_admin_scripts() : mixed
Properties
$plugin
private
mixed
$plugin
Methods
__construct()
public
__construct(Licensed_Plugin $plugin) : mixed
Parameters
- $plugin : Licensed_Plugin
Return values
mixed —get_services()
public
get_services() : mixed
Return values
mixed —is_required()
Is this object required?
public
is_required() : bool
Return values
bool —true if required, false otherwise.
register()
public
register() : mixed
Return values
mixed —register_admin_scripts()
public
register_admin_scripts(mixed $hook_suffix) : mixed
Parameters
- $hook_suffix : mixed