Forums
Home / Plugin: REST API Log / Logging custom URL
(@ghost2k)
4 years, 4 months ago
Can i add custom link to logging?
(@gungeekatx)
You’d have to write custom code to do that, but it is possible.
Use “WP_REST_API_Log_ElasticPress::log_query” and here is some example code: https://github.com/petenelson/wp-rest-api-log/blob/develop/includes/class-wp-rest-api-log-elasticpress.php#L45