Skill / SKILL.md

Settings Options Security

wpultimatesecurity/WordPress-Security-Skills

Use when building an options or settings page with the WordPress Settings API - register_setting, add_settings_field, settings_fields, an options.php form, or update_option / get_option on plugin data. Attaches a sanitize_callback to every setting, gates the page with manage_options, relies on Settings API nonce handling, and escapes options on output. Prevents stored XSS and unauthorized option writes.
2 views 57 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when building an options or settings page with the WordPress Settings API - register_setting, add_settings_field, settings_fields, an options.php form, or update_option / get_option on plugin data. Attaches a sanitize_callback to every setting, gates the page with manage_options, relies on Settings API nonce handling, and escapes options on output. Prevents stored XSS and unauthorized option writes.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wpultimatesecurity/WordPress-Security-Skills' skill-source

Use the complete skill-source/skills/settings-options-security directory with your client’s skill installer.

  • skills/settings-options-security

    dev · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/settings-options-security

Compatibility & requirements

Declared compatibility

Examples generally use PHP 7.4 syntax; check each API against target WordPress/PHP versions. Use maintained WordPress and supported PHP in production. Shell examples require their named tools.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
2f033d46109a48d1ff4c8e3e56610a7cf99097a2319d3c30d0084ee621fe90bb
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills