comment_id_fields

comment_id_fields

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('comment_id_fields') is found 1 times:

  • /wp-includes/comment-template.php line 2044
    	 * @param string $comment_id_fields The HTML-formatted hidden ID field comment elements.
    	 * @param int    $post_id           The post ID.
    	 * @param int    $reply_to_id       The ID of the comment being replied to.
    	 */
    	return apply_filters( 'comment_id_fields', $comment_id_fields, $post_id, $reply_to_id );
    }
    
    /**
     * Outputs hidden input HTML for replying to comments.
     *
     * Adds two hidden inputs to the comment form to identify the `comment_post_ID`