Footnotes_Layout_Init
Class to initialise all defined page layouts.
Tags
Table of Contents
- C_STR_MAIN_MENU_SLUG = 'footnotes'
- Slug for the Plugin main menu.
- $plugin_name : string
- The ID of this plugin.
- $settings_page : Footnotes_Layout_Settings
- Contains the settings page.
- __construct() : mixed
- Initializes all WordPress hooks for the Plugin Settings.
- get_plugin_meta_information() : mixed
- AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.
- initialize_settings() : mixed
- Registers the settings and initialises the settings page.
- register_options_submenu() : mixed
- Registers the footnotes submenu page.
- load_dependencies() : mixed
- Load the required dependencies for the layouts pages.
Constants
C_STR_MAIN_MENU_SLUG
Slug for the Plugin main menu.
public
string
C_STR_MAIN_MENU_SLUG
= 'footnotes'
Tags
Properties
$plugin_name
The ID of this plugin.
private
string
$plugin_name
Tags
$settings_page
Contains the settings page.
private
Footnotes_Layout_Settings
$settings_page
Tags
Methods
__construct()
Initializes all WordPress hooks for the Plugin Settings.
public
__construct(string $plugin_name) : mixed
Parameters
- $plugin_name : string
-
The name of the plugin.
Tags
Return values
mixed —get_plugin_meta_information()
AJAX call. returns a JSON string containing meta information about a specific WordPress Plugin.
public
get_plugin_meta_information() : mixed
Tags
Return values
mixed —initialize_settings()
Registers the settings and initialises the settings page.
public
initialize_settings() : mixed
Tags
Return values
mixed —register_options_submenu()
Registers the footnotes submenu page.
public
register_options_submenu() : mixed
Tags
Return values
mixed —load_dependencies()
Load the required dependencies for the layouts pages.
private
load_dependencies() : mixed
Include the following files that make up the plugin:
- Footnotes_Config: defines plugin constants;
- Footnotes_Settings: defines configurable plugin settings; and
- Footnotes_Layout_Settings: defines the plugin settings page.