Title: filter hooks
Last modified: February 7, 2022

---

# filter hooks

 *  Resolved [koderius](https://wordpress.org/support/users/koderius/)
 * (@koderius)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/filter-hooks-3/)
 * Hi there,
    It is not clear to me where should I put the filter hooks mentioned
   in the documentation
 * Functions.php of the theme?
    Inside the plugin files? as in >new-user-approve.
   php?
 * If so do I just copy-paste them at the end of the code or a specific place?
 * Thanks

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

 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/filter-hooks-3/#post-15336820)
 * Hi [@koderius](https://wordpress.org/support/users/koderius/),
 * Thanks for using the plugin,
 * I hope you are doing well, You can add filter hooks in Functions.php.
 * Thanks & Regards
 * WP Experts Support Team
 *  Thread Starter [koderius](https://wordpress.org/support/users/koderius/)
 * (@koderius)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/filter-hooks-3/#post-15336849)
 * Which Functions.php.?
    Of the theme? Of the plugin?
 * There are a lot of places with Functions.php. 🙂
 * Thanks
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/filter-hooks-3/#post-15336877)
 * Hi [@koderius](https://wordpress.org/support/users/koderius/),
 * Function.php of the theme.
 * Thanks
 *  Thread Starter [koderius](https://wordpress.org/support/users/koderius/)
 * (@koderius)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/filter-hooks-3/#post-15336879)
 * Thanks!
 *  Thread Starter [koderius](https://wordpress.org/support/users/koderius/)
 * (@koderius)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/filter-hooks-3/#post-15336888)
 * One last question:
    So if i put this in theme functions : – new_user_approve_approve_user_subject–
   modify the user approval subject
 * Do I need to add anything else for it to work?
    Thanks
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/filter-hooks-3/#post-15337025)
 * Hi [@koderius](https://wordpress.org/support/users/koderius/),
 * You need to add the code something like this:
 * `add_filter('new_user_approve_approve_user_subject', function($subject) { return"
   Here goes your new subject"; });`
 * Thanks

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

The topic ‘filter hooks’ is closed to new replies.

 * ![](https://ps.w.org/new-user-approve/assets/icon-128x128.gif?rev=2544141)
 * [New User Approve](https://wordpress.org/plugins/new-user-approve/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/new-user-approve/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/new-user-approve/)
 * [Active Topics](https://wordpress.org/support/plugin/new-user-approve/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/new-user-approve/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/new-user-approve/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/filter-hooks-3/#post-15337025)
 * Status: resolved