Logger vars and event for debug site and apps. Insert the hook do_action( ‘logger’, $data ); in your code Go to Tools > Logger Available additional hooks: wp_logger_button_panel wp_logger_inline_css wp_logger_inline_js wp_data_logger_print_data Available constants: WPDL_DISPLAY_LIMIT GitHub