Title: using current_filter
Last modified: August 19, 2016

---

# using current_filter

 *  [frankindelicato](https://wordpress.org/support/users/frankindelicato/)
 * (@frankindelicato)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/using-current_filter/)
 * 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](https://wordpress.org/support/users/frankindelicato/)
 * (@frankindelicato)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/using-current_filter/#post-1716077)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [frankindelicato](https://wordpress.org/support/users/frankindelicato/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/using-current_filter/#post-1716077)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
