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
1836
1837           /**
1838            * Filters the list of recipients for comment moderation emails.
1839            *
1840            * @since 3.7.0
1841            *
1842            * @param string[] $emails     List of email addresses to notify for comment moderation.
1843            * @param int      $comment_id Comment ID.
1844            */
1845           $emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );
1846
1847           /**
1848            * Filters the comment moderation email text.
1849            *
1850            * @since 1.5.2
1851            *
1852            * @param string $notify_message Text of the comment moderation email.
1853            * @param int    $comment_id     Comment ID.
1854            */