BACK TO DIRECTORY

WP Logger

by iTRON

5.0
(3 ratings)
  1. Insert the hook do_action( 'logger', $data ); in your code
  2. Go to Tools > WP Logger

Additional buttons

Use the wpdl_add_button( string $name, callable $clb, string $btnClass = '' ) function to add a button to the logger page.

  • $name text for the button;
  • $clb callback function;
  • $btnClass class for the button (optional).

Click on the button to execute the function via WP-AJAX. If an Exception or Error occurs, it will be logged as well.

Hooks:

  • wp_logger_button_panel
  • wp_logger_inline_css
  • wp_logger_inline_js
  • wp_data_logger_print_data

Available constants:

  • WPDL_DISPLAY_LIMIT

GitHub

Screenshots

Logger page

Logger page

Plugin Details

Active Installs
300
Total Downloads
7,310
Version
2.4
Requires WP
3.5
Requires PHP
7.1
Tested Up To
6.8.8
Added
2018-09-02
Last Updated
2025-12-01 10:42am GMT

Ratings

5
3
4
0
3
0
2
0
1
0