MCI_Footnotes_Hooks
Registers all WordPress Hooks and executes them on demand.
Tags
Table of Contents
- activate_plugin() : mixed
- Executed when the Plugin gets activated.
- deactivate_plugin() : mixed
- Executed when the Plugin gets deactivated.
- plugin_links() : array<string|int, mixed>
- Add Links to the Plugin in the "installed Plugins" page.
- register_hooks() : mixed
- Registers all WordPress hooks.
- uninstall_plugin() : mixed
- Executed when the Plugin gets uninstalled.
Methods
activate_plugin()
Executed when the Plugin gets activated.
public
static activate_plugin() : mixed
Tags
Return values
mixed —deactivate_plugin()
Executed when the Plugin gets deactivated.
public
static deactivate_plugin() : mixed
Tags
Return values
mixed —plugin_links()
Add Links to the Plugin in the "installed Plugins" page.
public
static plugin_links(array<string|int, mixed> $p_arr_links, string $p_str_plugin_file_name) : array<string|int, mixed>
Parameters
- $p_arr_links : array<string|int, mixed>
-
Current Links.
- $p_str_plugin_file_name : string
-
Plugins init file name.
Tags
Return values
array<string|int, mixed> —register_hooks()
Registers all WordPress hooks.
public
static register_hooks() : mixed
Tags
Return values
mixed —uninstall_plugin()
Executed when the Plugin gets uninstalled.
public
static uninstall_plugin() : mixed