Access_Control implements Registerable, Standard_Service
This class handles the plugin settings page for Password Protected Categories.
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- MENU_SLUG = 'dlp_access_control'
- OPTION_GROUP = 'dlp_access_control'
- OPTION_NAME = 'dlp_access_control'
- $plugin : mixed
- __construct() : mixed
- Constructor.
- add_settings_page() : mixed
- Add the settings page.
- register() : mixed
- {@inheritdoc}
- register_settings() : mixed
- Register the settings.
- render_settings_page() : mixed
- Render the settings page.
- save_options() : mixed
- Save the options.
- section_description_editing_permissions() : mixed
- Section description for editing permissions.
- section_description_login_forms() : mixed
- Section description for password form.
- section_description_password_login_form() : mixed
- Section description for password form.
- section_description_user_login_form() : mixed
- Section description for user login form.
- show_admin_notices() : mixed
- Show admin notices.
- get_document_library_page() : string
- Get the document library page URL.
Constants
MENU_SLUG
public
mixed
MENU_SLUG
= 'dlp_access_control'
Tags
OPTION_GROUP
public
mixed
OPTION_GROUP
= 'dlp_access_control'
Tags
OPTION_NAME
public
mixed
OPTION_NAME
= 'dlp_access_control'
Tags
Properties
$plugin
private
mixed
$plugin
Tags
Methods
__construct()
Constructor.
public
__construct(Licensed_Plugin $plugin) : mixed
Parameters
- $plugin : Licensed_Plugin
Tags
Return values
mixed —add_settings_page()
Add the settings page.
public
add_settings_page() : mixed
Tags
Return values
mixed —register()
{@inheritdoc}
public
register() : mixed
Tags
Return values
mixed —register_settings()
Register the settings.
public
register_settings() : mixed
Tags
Return values
mixed —render_settings_page()
Render the settings page.
public
render_settings_page() : mixed
Tags
Return values
mixed —save_options()
Save the options.
public
save_options(mixed $options) : mixed
Parameters
- $options : mixed
Tags
Return values
mixed —section_description_editing_permissions()
Section description for editing permissions.
public
section_description_editing_permissions() : mixed
Tags
Return values
mixed —section_description_login_forms()
Section description for password form.
public
section_description_login_forms() : mixed
Tags
Return values
mixed —section_description_password_login_form()
Section description for password form.
public
section_description_password_login_form() : mixed
Tags
Return values
mixed —section_description_user_login_form()
Section description for user login form.
public
section_description_user_login_form() : mixed
Tags
Return values
mixed —show_admin_notices()
Show admin notices.
public
show_admin_notices() : mixed
Tags
Return values
mixed —get_document_library_page()
Get the document library page URL.
private
get_document_library_page() : string