pre_comment_on_post

Advertisement

Summery Summery

Fires before a comment is posted.

Syntax Syntax

do_action( 'pre_comment_on_post', int $comment_post_ID )

Parameters Parameters

$comment_post_ID

(int) Post ID.

Source Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.