Debug Bar
Please Add Hook to init_panels (1 post)

  1. Store Locator Plus
    Posted 2 years ago #

    I am working on a Debug Bar extension and have to use static methods within my class because there is no "hey, debug bar is about to get started" hook.

    The earliest place I can find to latch onto Debug Bar is with the 'debug_bar_panels' filter, but that is a filter not a hook and thus shouldn't really be used to perform an action. Like "hey, invoke my class and setup the filters".

    I can hack around this, but it would be much better to have something like this:

    function init_panels() {
    $this->panels = apply_filters('debug_bar_panels', $this->panels);


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Debug Bar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Store Locator Plus
  • This topic is not resolved
  • WordPress version: 3.5.1