The admin-specific functionality of the plugin.
Defines the plugin name, version, and hooks for the admin-specific stylesheet and JavaScript.
package |
WordPress_Security_Txt |
---|---|
subpackage |
WordPress_Security_Txt/admin |
author |
Austin Heap me@austinheap.com |
__construct(string $plugin_name, string $version)
since | 1.0.0 |
---|---|
string
The name of this plugin.
string
The version of this plugin.
display_help_page()
since | 1.0.0 |
---|---|
display_settings_page()
since | 1.0.0 |
---|---|
enqueue_scripts()
since | 1.0.0 |
---|---|
enqueue_styles()
since | 1.0.0 |
---|---|
link_row(array $links, string $file) : array
since | 1.0.0 |
---|
array
The current array of row links
string
The name of the file
array
The modified array of row links
link_settings(array $links) : array
since | 1.0.0 |
---|
array
The current array of links
array
The modified array of links
register_fields() : void
since | 1.0.0 |
---|---|
register_sections() : void
since | 1.0.0 |
---|---|
register_settings() : void
since | 1.0.0 |
---|---|
sanitizer( $type, $data)
section_debug(array $params) : mixed
since | 1.0.0 |
---|
array
Array of parameters for the section
mixed
The settings section
section_directives(array $params) : mixed
since | 1.0.0 |
---|
array
Array of parameters for the section
mixed
The settings section
section_general(array $params) : mixed
since | 1.0.0 |
---|
array
Array of parameters for the section
mixed
The settings section
section_library(array $params) : mixed
since | 1.0.0 |
---|
array
Array of parameters for the section
mixed
The settings section
validate_repeater( $input, &$valid)
plugin_name : string
since | |
---|---|
access |
private |
var |
The ID of this plugin. |
string
version : string
since | |
---|---|
access |
private |
var |
The current version of this plugin. |
string