WPDev.one
Core Function
View Source on Trac ↗

wp_notify_postauthor()

wp_notify_postauthor( mixed $comment_id, mixed $deprecated = null )

Notifies an author (and/or others) of a comment/trackback/pingback on a post.

Parameters 1 required

Name / Type Description
(int

| WP_Comment) $comment_id Comment ID or WP_Comment object.

Required
$deprecated
string

Not used.

Return Value

(bool)
True on completion. False if no email addresses were specified.

Function Information

Since Version
1.0.0
Source File
wp-includes/pluggable.php
Advertisement