Protect implements Service, Registerable, Conditional
This class handles our plugin protect page in the admin.
Tags
Interfaces, Classes and Traits
- Service
- Registerable
- Conditional
Table of Contents
- $plugin : mixed
- __construct() : mixed
- Constructor.
- add_protect_page() : mixed
- Add the Import sub menu page.
- is_required() : mixed
- {@inheritdoc}
- register() : mixed
- {@inheritdoc}
- render() : mixed
- Render the import page.
Properties
$plugin
private
mixed
$plugin
Tags
Methods
__construct()
Constructor.
public
__construct(Plugin $plugin) : mixed
Parameters
- $plugin : Plugin
Tags
Return values
mixed —add_protect_page()
Add the Import sub menu page.
public
add_protect_page() : mixed
Tags
Return values
mixed —is_required()
{@inheritdoc}
public
is_required() : mixed
Tags
Return values
mixed —register()
{@inheritdoc}
public
register() : mixed
Tags
Return values
mixed —render()
Render the import page.
public
render() : mixed