WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about comment_closed

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/comment.php do_action 3513 /**
* Fires when a comment is attempted on a post that has comments closed.
* @since 1.5.0
* @param int $comment_post_id Post ID.

Hook Parameters

Parameter Type Name Description
int $comment_post_id Post ID.