Admin_Controller implements Service, Registerable, Conditional Uses Service_Container

Handles general admin functions, such as adding links to our settings page in the Plugins menu.

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

$plugin  : mixed
__construct()  : mixed
Constructor - set up plugin instance
add_services()  : mixed
This method returns an array of services to register.
is_required()  : bool
Check if it's required to load the service on certain requests
register()  : mixed
Register services and necessary hooks

Properties

Methods

__construct()

Constructor - set up plugin instance

public __construct(Licensed_Plugin $plugin) : mixed
Parameters
$plugin : Licensed_Plugin

The plugin instance

Return values
mixed

add_services()

This method returns an array of services to register.

public add_services() : mixed
Return values
mixed

is_required()

Check if it's required to load the service on certain requests

public is_required() : bool
Return values
bool

register()

Register services and necessary hooks

public register() : mixed
Return values
mixed

Search results