Governance Guardrails
Governance Guardrails provides file-based rules for managing admin behavior, capabilities, uploads, and operational hardening from code.
Utiliser avec prudence
Governance Guardrails works, but test it on a staging site before relying on it in 2026. Was last updated 6 months ago, and scores 49/100 on our health check.
- Petite base d'utilisateurs (<10 installations actives)
- Très peu de critiques jusqu'à présent
- Nécessite PHP 8.1 ou plus récent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Governance Guardrails stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| administrateur | >100 |
| governance | #14 |
| mu plugin | >100 |
| la sécurité | >100 |
| WP-CLI | >100 |
About Governance Guardrails
À partir du Lisez-moi officiel · v1.0.0Description
Governance Guardrails is a file-based WordPress governance plugin for site owners, agencies, and managed WordPress teams that want important operational rules to live in code instead of scattered database settings.
You define a policy in a PHP configuration file. Governance Guardrails reads that file on each request and applies the configured rules. This makes the policy easy to review, version-control, and deploy consistently across environments or multiple sites.
Governance Guardrails can help you manage:
- Feature toggles such as XML-RPC, comments, feeds, the Customizer, widgets, application passwords, user registration, WP-Cron, and related admin features.
- Admin UI cleanup, including admin bar nodes, dashboard widgets, menu pages, and admin footer text.
- Runtime capability denials by role without changing stored role definitions in the database.
- Upload governance, including allowed MIME types and per-file size limits.
- Content behavior such as revisions, autosave intervals, oEmbed, and emoji loading.
- Login behavior such as password reset restrictions, generic login errors, and post-logout redirects.
- HTTP security headers and other hardening options such as pingback removal, author archive handling, file editing restrictions, and staging noindex headers.
- Head cleanup for RSD, WLW manifest, shortlinks, feed links, and REST API discovery links.
- Locked options so selected
wp_optionsvalues are pinned from code. - Custom governance callbacks for site-specific rules.
This plugin does not claim to secure a site by itself. It is intended as a governance and consistency tool that helps keep selected WordPress settings and behaviors aligned with your site’s operational policy.
Must-use plugin support
Governance Guardrails was originally built for must-use plugin deployment. It can still be installed that way by copying governance-guardrails.php and the governance-guardrails/ directory into wp-content/mu-plugins/.
For WordPress.org installation, it can also be installed and activated as a normal plugin. In that case, the included sample config is used from the plugin directory unless you define a custom config path.
To use a custom config file, add this to wp-config.php:
define( 'GOVGUARD_CONFIG', '/absolute/path/to/governance-guardrails-config.php' );
The shipped sample config lives at governance-guardrails/governance-guardrails-config.php.
Config loading is fail-open. If the config file is missing, unreadable, has a syntax error, or does not return an array, Governance Guardrails does not enforce governance rules and logs a warning instead of crashing the site.
WP-CLI
When WP-CLI is available, Governance Guardrails registers the wp governance command set.
Exemples :
wp governance statuswp governance checkwp governance auditwp governance audit --severity=highwp governance diffwp governance get features --format=jsonwp governance mimes
Installation
Normal plugin installation
- Upload the plugin files to the
/wp-content/plugins/governance-guardrails/directory, or install the plugin through the WordPress Plugins screen. - Activate Governance Guardrails through the Plugins screen in WordPress.
- Review the included sample config at
governance-guardrails/governance-guardrails-config.php. - For a site-specific policy, define
GOVGUARD_CONFIGinwp-config.phpand point it at your own config file. - If WP-CLI is available, run
wp governance checkto validate the active config.
Must-use plugin installation
- Copy
governance-guardrails.phpand thegovernance-guardrails/directory intowp-content/mu-plugins/. - Review or replace the config file at
wp-content/mu-plugins/governance-guardrails/governance-guardrails-config.php. - Optionally define
GOVGUARD_CONFIGinwp-config.phpto point at a config file outside the plugin directory. - If WP-CLI is available, run
wp governance statusorwp governance check.
Journal de modifications
1.0.0
- Initial WordPress.org-ready release.
- Provides file-based governance configuration for admin UI, feature toggles, capabilities, uploads, content behavior, login behavior, security headers, locked options, and WP-CLI inspection commands.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Governance Guardrails alternatives
Tous les plugins d'administrateur →FAQ
Governance Guardrails: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Governance Guardrails free?
Yes. Governance Guardrails is free to download and use from the official WordPress.org plugin directory.
Is Governance Guardrails safe to use in 2026?
Governance Guardrails works, but test it on a staging site before relying on it in 2026. Was last updated 6 months ago, and scores 49/100 on our health check.
How many websites use Governance Guardrails?
Governance Guardrails is active on <10 WordPress websites and has been downloaded 343 times since it launched in June 2026. It was downloaded 78 times in the last 30 days.
Does Governance Guardrails work with WordPress 7.1?
Governance Guardrails is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Governance Guardrails need?
Governance Guardrails requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Governance Guardrails last updated?
The latest version, 1.0.0, was released on June 16, 2026 (6 months ago).
Who makes Governance Guardrails?
Governance Guardrails is developed and maintained by Malcolm Peralty.
What are the best alternatives to Governance Guardrails?
The most popular alternatives to Governance Guardrails are Loginizer (1M+ installs), Redux Framework (800K+ installs) and Admin Menu Editor (300K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
