| 开发者 | juaevpa |
|---|---|
| 更新时间 | 2026年6月1日 15:29 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
GET /ping - Connection checkGET /health - Complete site health status
Updates
GET /updates - Available updates (plugins, themes, core, translations)
POST /update/plugin - Update a specific pluginPOST /update/theme - Update a specific themePOST /update/core - Update WordPress corePOST /update/all-plugins - Update all pluginsPOST /update/all-themes - Update all themesPOST /update/translations - Update all translations
Plugins
GET /plugins - List all plugins
GET /plugins/{plugin} - Get plugin detailsPOST /plugins/activate - Activate a pluginPOST /plugins/deactivate - Deactivate a pluginGET /plugins/ignored - List ignored pluginsPOST /plugins/ignore - Ignore a plugin from bulk updatesPOST /plugins/unignore - Remove plugin from ignored list
Themes
GET /themes - List all themes
POST /themes/activate - Activate a theme
Database
GET /database/stats - Database statistics
POST /database/cleanup - Clean database (revisions, drafts, spam, etc.)POST /database/optimize - Optimize database tables
Logs
GET /logs/php - PHP error log
GET /logs/activity - Plugin activity log
Users
GET /users - List WordPress users
lock-my-site folder to /wp-content/plugins/Yes. The plugin uses API key authentication, supports HMAC signature verification, IP whitelisting, implements rate limiting, auto-lockout after failed attempts, and logs all API access. The API key is generated automatically and can be regenerated at any time.
Include the X-API-Key header with your API key in each request.
Yes, you can configure an IP whitelist in the plugin settings page (Tools > Lock My Site).
Yes, this plugin is designed to work with any management dashboard that implements the API. It's compatible with custom dashboards and management tools.
You can regenerate your API key at any time from the plugin settings. The old key will immediately stop working. You can also enable email alerts to be notified of suspicious access attempts.
The plugin works on individual sites. For multisite networks, install it on each site you want to manage.
lockmysi_ for WordPress.org compliance