WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp notify moderator

Description

This function can be replaced via plugins. If plugins do not redefine these functions, then this will be used instead.

Notifies the moderator of the blog about a new comment that is awaiting approval.

Usage

<?php wp_notify_moderator$comment_id ?>

Parameters

$comment_id
(integer) (required) Comment ID
Default: None

Return Values

(boolean) 
Always returns true

Examples

Notes

  • This function can be replaced via plugins. If plugins do not redefine these functions, then this will be used instead.
  • Uses global: (object) $wpdb

Change Log

Since: 1.0

Source File

wp_notify_moderator() is located in wp-includes/pluggable.php.

Related

See also index of Function Reference and index of Template Tags.