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 |
|---|---|
stringThe name of this plugin.
stringThe version of this plugin.
arrayThe options of this plugin.
checkbox(array $args) : string
arrayThe arguments for the field
stringThe HTML field
editor(array $args) : string
NOTE: ID must only be lowercase letter, no spaces, dashes, or underscores.
arrayThe arguments for the field
stringThe HTML field
radios(array $args) : string
arrayThe arguments for the field
stringThe HTML field
repeater( $args)
select(array $args) : string
Note: label is blank since its created in the Settings API
arrayThe arguments for the field
stringThe HTML field
text(array $args) : string
arrayThe arguments for the field
stringThe HTML field
textarea(array $args) : string
arrayThe arguments for the field
stringThe 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