Functions

activate_wordpress_security_txt

The code that runs during plugin activation.

This action is documented in includes/class-wordpress-security-txt-activator.php
« More »

deactivate_wordpress_security_txt

The code that runs during plugin deactivation.

This action is documented in includes/class-wordpress-security-txt-deactivator.php
« More »

run_wordpress_security_txt

Begins execution of the plugin.

Since everything within the plugin is registered via hooks, then kicking off the plugin from this point in the file does not affect the page life cycle.
« More »

Constants

WORDPRESS_SECURITY_TXT_FILE

« More »

WORDPRESS_SECURITY_TXT_VERSION

« More »

Classes, interfaces and traits

WordPress_Security_Txt_Admin

The admin-specific functionality of the plugin.

Defines the plugin name, version, and hooks for the admin-specific stylesheet and JavaScript.
« More »

WordPress_Security_Txt_Builder

The admin-specific UI builder of the plugin.

« More »

WordPress_Security_Txt_Field

The admin-specific fields of the plugin.

« More »

WordPress_Security_Txt_Sanitizer

Simple (by no means complete) input sanitizer.

« More »

Classes, interfaces and traits

WordPress_Security_Txt

The core plugin class.

This is used to define internationalization, admin-specific hooks, and public-facing site hooks. Also maintains the unique identifier of this plugin as well as the current version of the plugin.
« More »

WordPress_Security_Txt_Activator

Fired during plugin activation.

This class defines all code necessary to run during the plugin's activation.
« More »

WordPress_Security_Txt_Deactivator

Fired during plugin deactivation.

This class defines all code necessary to run during the plugin's deactivation.
« More »

WordPress_Security_Txt_i18n

Define the internationalization functionality.

Loads and defines the internationalization files for this plugin so that it is ready for translation.
« More »

WordPress_Security_Txt_Loader

Register all actions and filters for the plugin.

Maintain a list of all hooks that are registered throughout the plugin, and register them with the WordPress API. Call the run function to execute the list of actions and filters.
« More »

Classes, interfaces and traits

WordPress_Security_Txt_Public

The public-facing functionality of the plugin.

Defines the plugin name, version, and hooks for the public-facing stylesheet and JavaScript.
« More »