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 |
|---|---|
stringThe name of this plugin.
stringThe 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 |
|---|
arrayThe current array of row links
stringThe name of the file
arrayThe modified array of row links
link_settings(array $links) : array
| since | 1.0.0 |
|---|
arrayThe current array of links
arrayThe 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 |
|---|
arrayArray of parameters for the section
mixedThe settings section
section_directives(array $params) : mixed
| since | 1.0.0 |
|---|
arrayArray of parameters for the section
mixedThe settings section
section_general(array $params) : mixed
| since | 1.0.0 |
|---|
arrayArray of parameters for the section
mixedThe settings section
section_library(array $params) : mixed
| since | 1.0.0 |
|---|
arrayArray of parameters for the section
mixedThe 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