• I have searched the forums and looked at the WordPress code that uses the function current_filter() but when I call it nothing is returned. I need to know which action/filter hook is currently active as I am trying to debug two plugins that I am developing. As background info: I have a PHP call to strip_tags() that allows user defined HTML tags. When the tag <li> is NOT stripped I get multiple action/filter callbacks to my plugins. When the <li> tag is stripped the multiple action/filter callbacks stop. Very weird! Something may be getting corrupted. I would like to know which action/filter is currently active to help in debugging.

Viewing 1 replies (of 1 total)
  • Thread Starter frankindelicato

    (@frankindelicato)

    Sorry, the above was worded wrong. I have searched the forums and looked at the WordPress code that uses the function current_filter() but when I call it nothing is returned. I need to know which action/filter hook is currently active as I am trying to debug two plugins that I am developing. As background info: I have a PHP call to strip_tags() that allows user defined HTML tags. When the tag

    • is stripped I get multiple action/filter callbacks to my plugins. When the
    • tag is NOT stripped the multiple action/filter callbacks stop. Very weird! Something may be getting corrupted. I would like to know which action/filter is currently active to help in debugging.
Viewing 1 replies (of 1 total)
  • The topic ‘using current_filter’ is closed to new replies.