Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: comment_moderation_text

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
1664
1665      /**
1666       * Filter the comment moderation email text.
1667       *
1668       * @since 1.5.2
1669       *
1670       * @param string $notify_message Text of the comment moderation email.
1671       * @param int    $comment_id     Comment ID.
1672       */
1673      $notify_message = apply_filters( 'comment_moderation_text', $notify_message, $comment_id );
1674
1675      /**
1676       * Filter the comment moderation email subject.
1677       *
1678       * @since 1.5.2
1679       *
1680       * @param string $subject    Subject of the comment moderation email.
1681       * @param int    $comment_id Comment ID.
1682       */