Title: trouble with current_filter()
Last modified: August 19, 2016

---

# trouble with current_filter()

 *  [frankindelicato](https://wordpress.org/support/users/frankindelicato/)
 * (@frankindelicato)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/trouble-with-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 stripped I get multiple action/
   filter callbacks to my plugins. When the `<li>`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.

The topic ‘trouble with current_filter()’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [frankindelicato](https://wordpress.org/support/users/frankindelicato/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/trouble-with-current_filter/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
