WPDev.one
Core Function
View Source on Trac ↗

_get_comment_reply_id()

_get_comment_reply_id( mixed $post = null )

Gets the comment's reply to ID from the $_GET['replytocom'].

Parameters 1 required

Name / Type Description
mixed

(int | WP_Post) $post The post the comment is being displayed for. Defaults to the current global post.

Required

Return Value

(int)
Comment's reply to ID.

Function Information

Since Version
6.2.0
Source File
wp-includes/comment-template.php
Advertisement