There is no wp_notify_postauthor
filter, a pluggable function is one you override with your own function:
if( ! function_exists('wp_notify_postauthor') ) {
function wp_notify_postauthor( $comment_id, $comment_type="" ) {
// your own wp_notify_postauthor code
}
}
I suggest looking at the function in source to see what it does.
Related Posts:
- How to change the email notification recipient (user) for new comments?
- Add placeholder attribute to comment form fields
- Hook to edit an column on comments screen?
- Using filter to add additional fields to comment_form()
- How to remove commenters ability to add hyperlinks to comments?
- How to remove or replace the log-in link for comment replies?
- If new comment posted in custom post – send notification to custom email from custom field
- Disable Admin account being emailed for comment notification
- WordPress comments email notification for authors
- remove_filter( ‘comment_author’, ‘floated_admin_avatar’ ); doesn’t work
- Send Notifications to All Admins
- Reject Comments Based on Author Email
- Filter custom posts with / without comments
- Filter In Reply comments from WordPress Admin Panel
- Same email for all comments
- Error While Sending Comment
- Reply By Email to comment notifications
- comment reply by email
- Alternative to the filter comment_reply_link
- How to use the ‘comments_number’ filter?
- How can I get list of emails of users who commented on a post?
- How do I disable the discussion notification emails to us when a comment is “approved” and when an adiministrator replies?
- Sent comments notifications to multiple users
- How to get Post title by locale with Qtranslate-X
- How to prevent users/authors from seing IP/email of new commentators?
- Not receiving any e-mails after new comment
- Comment notification not working
- modifying the comment form
- Subscribe to a post’s comments without posting a comment yourself
- What filter or action to replace comments or add new comment system
- Commenting in user profile page?
- How do I delete all comments from a specific old blog post?
- How to load and show comments with AJAX instead of pagination?
- get recent comments of a particular category
- Hook/Filter before and after comments
- Is it possible to move a comment that should be a reply to another comment?
- Can I seperate comments from post?
- Display commenter’s registration date on comments?
- How do I display the commentor’s first name and last name in the comments?
- show un-approved comments at wordpress front end
- How to add consent checkbox in comment section
- How to add pagination to comments?
- WP 4.4.1 allow empty comments via add_action ‘pre_comment_on_post’
- How to get replies of a comment?
- Share comment to twitter after publishing [closed]
- changing comment-page-# to something like review-page-#
- Deleting the attached “comment replies” when trashing a comment
- Add filter to comments loop?
- Show comments to unregistered users
- Control panel loads slowly due to 2 slow queries on comment table
- Comment Pagination Behavior wp_list_comments() – comment ordering and pagination
- Adding character count and limit in comments, modifying labels and fields – jetpack
- Check if comment was successfully submited
- After Submitting Comment Form Shows an Empy Page in WordPress
- Unique User for all visitor, but possibility to comment with unique name
- comments_array filter doesn’t work in some themes
- Change id=”respond” to the comments container
- Comments on Author page
- Link to a User’s Forum Profile From Their Comment
- if user role is then echo text
- Safely editing core files
- Woocommerce comments subscription [closed]
- Way to count the number of people who have commented on a post?
- Batch approve comments
- Add paragraph tags to comments
- How to tweak comment fields properly from functions.php
- How to allow duplicate comments?
- Error using wp_mail inside custom function
- Advanced Custom Fields comments [closed]
- Two textareas showing up in comments.php
- WordPress comments – delimiter “/” not found
- Modify links in user comments
- How indicate when a functions was upgraded in relationship to the entire program [closed]
- Empty comments field or
- infinite loop on page with comments after changing comments.php and header.php
- What templates/funtions needed in custom theme to allow comments the new 3.0 way
- Default Gravatar not showing for pings
- How include comment and post count of user in this custom query
- Prevent users to delete comments from trash
- How can I hide comment of the authors from their published posts?
- How to customize ‘children comments’ in WordPress?
- How to display replies to his comments in user profile of current user
- Would like to use hook or filters to customize email templates
- Top rated posts Average rating issue
- Disallow Comments
- Keep comment author’s name on their comment even when their account is deleted
- WordPress Commenting System User access and Security
- Comments.php is not getting called on main blog page
- Allowing comments on author pages
- Comment section not appearing on posts
- How can I see whether a commenter has subscribed to be notified of replies / other comments to a post
- Where is the Leave a Comment link set
- Disable comment moderation in multisite
- Auto disable comments with custom field
- I want to fill the comment with the comment count?
- delete user not working
- How to remove or customize “Comment” in comments form?
- Comments on pages not appearing, even though I enabled them
- check if a comment was made by a registered user
- Add ACF Quick Edit Columns on Comments