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
1499
1500      /**
1501       * Filter the list of recipients for comment moderation emails.
1502       *
1503       * @since 3.7.0
1504       *
1505       * @param array $emails     List of email addresses to notify for comment moderation.
1506       * @param int   $comment_id Comment ID.
1507       */
1508      $emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );
1509
1510      /**
1511       * Filter the comment moderation email text.
1512       *
1513       * @since 1.5.2
1514       *
1515       * @param string $notify_message Text of the comment moderation email.
1516       * @param int    $comment_id     Comment ID.
1517       */