BAWP is a WordPress plugin that provides information about your installed plugins and WordPress version in JSON format via a REST API.
- Provides the WordPress version and update status.
- Lists installed plugins and their update statuses.
- Secure data access using an API key.
- View and manage the API key from the admin panel.
- Download the plugin files from GitHub or extract the zip file.
- Upload the
bawp
directory to thewp-content/plugins
directory of your WordPress installation. - Activate the "BAWP" plugin from the "Plugins" section in the WordPress admin panel.
Access the API using the following endpoint:
GET https://yourdomain.com/wp-json/bawp/v1/info?api_key=YOUR_API_KEY
api_key
: The API key generated by the plugin and viewable in the admin panel.
sh curl -X GET "https://yourdomain.com/wp-json/bawp/v1/info?api_key=YOUR_API_KEY"
{
"wp_version": "5.7.2",
"wp_update_available": false,
"plugins": [
{
"name": "Akismet Anti-Spam",
"version": "4.1.9",
"author": "Automattic",
"update_available": true
},
{
"name": "Hello Dolly",
"version": "1.7.2",
"author": "Matt Mullenweg",
"update_available": false,
"acitve": true
}
]
}
When the plugin is first installed, an API key is automatically generated. To view or change this key:
1. Go to the WordPress admin panel.
2. Navigate to the "Settings" section and select "BAWP".
3. You can view the current API key or generate a new one from this page.
To ensure the security of your API key, do not share it with anyone and only allow access to trusted clients.
If you would like to contribute, you can do so by sending a pull request or opening an issue on the GitHub repository. We appreciate all contributions and feedback!
This project is licensed under the MIT License. You can refer to the LICENSE file for details.
Users utilize the plugin at their own discretion. The plugin developer cannot be held responsible for any issues that may arise.