comment_closed, $comment_post_id
comment_closed, $comment_post_id
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('comment_closed, $comment_post_id') is found 1 times:
- /wp-includes/comment.php line 3682
* @since 1.5.0 * * @param int $comment_post_id Post ID. */ do_action( 'comment_closed', $comment_post_id ); return new WP_Error( 'comment_closed', __( 'Sorry, comments are closed for this item.' ), 403 ); } elseif ( 'trash' === $status ) { /**