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.7.2

apply_filters('get_comment_excerpt') is found 1 times:

  • /wp-includes/comment-template.php line 691
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
         * @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: