Codex tools: Log in
This function is responsible for sending comment notification emails to the post author whenever a reader leaves a comment. It is pluggable and can be customized using plugins.
This function is pluggable using the following filters:
If the plugins do not redefine the functions using filters, then the default functionality will be used.
To modify the content of the email that is sent when a reader leaves a comment, you may provide filters for each of the above functions in your plugin.
This function also sanitizes a URL for use in a redirect.
<?php wp_notify_postauthor( $comment_id, $comment_type ) ?>
wp_notify_postauthor() is located in