get_comment_excerpt

get_comment_excerpt

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.6

apply_filters('get_comment_excerpt') is found 1 times:

  • /wp-includes/comment-template.php line 679
    	 * @param string     $comment_excerpt The comment excerpt text.
    	 * @param string     $comment_id      The comment ID as a numeric string.
    	 * @param WP_Comment $comment         The comment object.
    	 */
    	return apply_filters( 'get_comment_excerpt', $comment_excerpt, $comment->comment_ID, $comment );
    }
    
    /**
     * Displays the excerpt of the current comment.
     *
     * @since 1.2.0
    

See this hook used in plugins: