/devkit

A debugging tool for WordPress

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

DevKit Kit

DevKit is a debugging tool for WordPress.

Examples

Add Log

apply_filters( 'devkit_add_log', [ 'test' => 123 ], 'my-plugin', __FILE__, __LINE__ );

Print Logs

do_action( 'devkit_print_log' );

Clear Logs

do_action( 'devkit_clear_log' );

REST API

Get Logs

$route = 'https://site.com/wp-json/devkit/logs' // GET Request

Clear Logs

$route = 'https://site.com/wp-json/devkit/logs' // DELETE Request