Footnotes_Hooks
Registers all WordPress hooks and executes them on demand.
Tags
Table of Contents
- activate_plugin() : mixed
- Executes when the Plugin is activated.
- deactivate_plugin() : mixed
- Executes when the Plugin is deactivated.
- get_plugin_links() : array<string|int, string>
- Appends the Plugin links for display in the dashboard “Plugins” page.
- register_hooks() : mixed
- Registers all WordPress hooks.
Methods
activate_plugin()
Executes when the Plugin is activated.
public
static activate_plugin() : mixed
Currently a no-op placeholder.
Tags
Return values
mixed —deactivate_plugin()
Executes when the Plugin is deactivated.
public
static deactivate_plugin() : mixed
Currently a no-op placeholder.
Tags
Return values
mixed —get_plugin_links()
Appends the Plugin links for display in the dashboard “Plugins” page.
public
static get_plugin_links(array<string|int, mixed> $plugin_links) : array<string|int, string>
Parameters
- $plugin_links : array<string|int, mixed>
-
The WP-default set of links to display.
Tags
Return values
array<string|int, string> —The full set of links to display.
register_hooks()
Registers all WordPress hooks.
public
static register_hooks() : mixed