Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: comment_moderation_recipients

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1766
1767           /**
1768            * Filters the list of recipients for comment moderation emails.
1769            *
1770            * @since 3.7.0
1771            *
1772            * @param array $emails     List of email addresses to notify for comment moderation.
1773            * @param int   $comment_id Comment ID.
1774            */
1775           $emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );
1776
1777           /**
1778            * Filters the comment moderation email text.
1779            *
1780            * @since 1.5.2
1781            *
1782            * @param string $notify_message Text of the comment moderation email.
1783            * @param int    $comment_id     Comment ID.
1784            */