Title: Functions.php Theme Template
Last modified: August 20, 2016

---

# Functions.php Theme Template

 *  [greekdish](https://wordpress.org/support/users/greekdish/)
 * (@greekdish)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-theme-template/)
 * Whats the best way of doing this. I want the email notifications to authors of
   comments posted to include an “Approve This” link along with the others. Why 
   this isnt standard is beyond me. Regardless….
 * The code for wp_notify_postauthors is in pluggable.php….I obviously dont want
   to hack the core files, so I added this code to my functions.php template file….
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Problem now, I get 2 emails…one with exactly what I want, and still the old version
   of wp_notify_postauthor in pluggable.php. I tried all sorts of remove_action 
   and sorts to STOP the pluggable function from executing to no avail.
 * Is what I am doing the best way, or should I somehow append the function wp_notify_postauthor
   to add the line of code I need?? And is there a way to just stop the original
   wp_notify_postauthor function from executing?

Viewing 1 replies (of 1 total)

 *  Thread Starter [greekdish](https://wordpress.org/support/users/greekdish/)
 * (@greekdish)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-theme-template/#post-2677334)
 * Here is the Pastebin URL…
 * [http://pastebin.com/n3WQdLDh](http://pastebin.com/n3WQdLDh)
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Functions.php Theme Template’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [greekdish](https://wordpress.org/support/users/greekdish/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-theme-template/#post-2677334)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
