Title: Where in functions.php does a add_filter code go?
Last modified: October 27, 2018

---

# Where in functions.php does a add_filter code go?

 *  Resolved [Anandabrata Ghosh](https://wordpress.org/support/users/ananddevops/)
 * (@ananddevops)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/where-in-functions-php-does-a-add_filter-code-go/)
 * Hello,
 * In order to modify plugin content/display I found a way using the –
 * [Add Filter for Plugin](https://developer.wordpress.org/reference/functions/add_filter)
 * It says that snippet(as reqd.) needs to be added in the functions.php of the 
   theme. Now each them has a different functions.php and some overwrite it.
 * **Now where in theme functions.php does a add_filter code needs to be added?**
 * Appreciate some guidance as I am new to WP.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/where-in-functions-php-does-a-add_filter-code-go/#post-10821909)
 * There is no particular spot. It can go anywhere.
 * I would add it to the bottom of that file.
 *  Thread Starter [Anandabrata Ghosh](https://wordpress.org/support/users/ananddevops/)
 * (@ananddevops)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/where-in-functions-php-does-a-add_filter-code-go/#post-10822063)
 * Thank you.
 * That helps.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/where-in-functions-php-does-a-add_filter-code-go/#post-10822070)
 * You are welcome:)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Where in functions.php does a add_filter code go?’ is closed to new replies.

## Tags

 * [add_filter](https://wordpress.org/support/topic-tag/add_filter/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/where-in-functions-php-does-a-add_filter-code-go/#post-10822070)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
