WordPress_Security_Txt_Field

The admin-specific fields of the plugin.

package

WordPress_Security_Txt

subpackage

WordPress_Security_Txt/admin

author

Austin Heap me@austinheap.com

Methods

Initialize the class and set its properties.

__construct(string $plugin_name, string $version, array $options) 
since 1.0.0

Arguments

$plugin_name

string

The name of this plugin.

$version

string

The version of this plugin.

$options

array

The options of this plugin.

Render the acknowledgement field.

acknowledgement() : void

Returns all the fields available in this class.

available_fields() : array
static

Response

array

Render the cache field.

cache() : void

Render the contact field.

contact() : void

Render the credits field.

credits() : void

Render the debug field.

debug() : void

Render the disclosure field.

disclosure() : void

Render the enable field.

enable() : void

Render the encryption field.

encryption() : void

Determines if a field is available in this class.

field_available(string $name) : boolean
static

Arguments

$name

string

Response

boolean

Render the menu field.

menu() : void

Render the redirect field.

redirect() : void

Registers all available fields.

register_all() : void

Registers a specific field.

register_field(string $name) : void

Arguments

$name

string

Render the statistics field.

statistics() : void

Properties

The ID of this plugin.

plugin_name : string
since
access

private

var

The ID of this plugin.

Type(s)

string

The version of this plugin.

version : string
since
access

private

var

The current version of this plugin.

Type(s)

string

The field options.

options : array
since
access

private

var

The plugin options.

Type(s)

array

The admin field builder class

builder : \WordPress_Security_Txt_Field
since
access

private

var

Field builder of this plugin

Type(s)

\WordPress_Security_Txt_Field

The fields this class can build.

available_fields : array
static
since
access

private

var

The fields this class can build.

Type(s)

array