该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

API Log Pro

描述

This plugin enables logging of all calls to the WordPress REST API. You can view all logs from the WordPress Admin under API Log Pro.

WP-CLI Support

This plugin offers some basic wp-cli support. You can use the following command to delete all the logs in the db.

wp api-log-pro delete

安装

  1. Copy the api-log-pro folder into your wp-content/plugins folder
  2. Activate the API Log Pro plugin via the plugin admin page

常见问题

What is the difference between outgoing and incoming logs?

Incoming are requests made to the WordPress Reset API, while outbound requests are made to 3rd party API services using the wp_remote_request() function.

How long are logs kept?

Currently logs are kept for 15 days.

Can I view the log via the api?

Yes, you can use the WordPress api to view the logs if you have manage options permissions as a WordPress User. Here is the endpoint:

/wp-json/api-log-pro/v1/logs

评价

此插件暂无评价。

贡献者及开发者

“API Log Pro” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“API Log Pro”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.0.1

  • First Release, please read CHANGELOG.md for all changes.