get_comment_ID

get_comment_ID

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('get_comment_ID') is found 1 times:

  • /wp-includes/comment-template.php line 741
    	 *
    	 * @param string     $comment_id The current comment ID as a numeric string.
    	 * @param WP_Comment $comment    The comment object.
    	 */
    	return apply_filters( 'get_comment_ID', $comment_id, $comment );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase
    }
    
    /**
     * Displays the comment ID of the current comment.
     *
     * @since 0.71