WordPress.org

Forums

Kint Debugger
Restrict output with capabilities check (2 posts)

  1. lkraav
    Member
    Posted 1 year ago #

    In some cases, live stuff has to be debugged. Non-admin visitors or even lower privileged logged in users should not be able to see debug output, so it should be possible to restrict output based on capabilities.

    https://wordpress.org/plugins/kint-debugger/

  2. anou
    Member
    Posted 8 months ago #

    Until this setting is implemented in the plugin you can always use:
    if(is_super_admin){d(...);}
    or less restrictive
    if(is_user_logged_in()) {d(...);}

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Kint Debugger
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.