Admin_Links implements Registerable, Service
Core admin functions for our plugins (e.g. adding the settings link).
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().
- Service
- Marker interface to denote a service.
Table of Contents
- $plugin : Plugin
- __construct() : mixed
- add_documentation_link() : mixed
- add_settings_link() : mixed
- register() : void
- Register this object with WordPress.
Properties
$plugin
protected
Plugin
$plugin
The core plugin data (ID, version, etc).
Methods
__construct()
public
__construct(Plugin $plugin) : mixed
Parameters
- $plugin : Plugin
Return values
mixed —add_documentation_link()
public
add_documentation_link(mixed $links, mixed $file) : mixed
Parameters
- $links : mixed
- $file : mixed
Return values
mixed —add_settings_link()
public
add_settings_link(mixed $links) : mixed
Parameters
- $links : mixed
Return values
mixed —register()
Register this object with WordPress.
public
register() : void