The admin-specific UI builder of the plugin.
package |
WordPress_Security_Txt |
---|---|
subpackage |
WordPress_Security_Txt/admin |
author |
Austin Heap me@austinheap.com |
__construct(string $plugin_name, string $version, array $options)
since | 1.0.0 |
---|---|
string
The name of this plugin.
string
The version of this plugin.
array
The options of this plugin.
checkbox(array $args) : string
array
The arguments for the field
string
The HTML field
editor(array $args) : string
NOTE: ID must only be lowercase letter, no spaces, dashes, or underscores.
array
The arguments for the field
string
The HTML field
radios(array $args) : string
array
The arguments for the field
string
The HTML field
repeater( $args)
select(array $args) : string
Note: label is blank since its created in the Settings API
array
The arguments for the field
string
The HTML field
text(array $args) : string
array
The arguments for the field
string
The HTML field
textarea(array $args) : string
array
The arguments for the field
string
The HTML field
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