WordPress at Your Fingertips
function is not described

WC_Comments::add_avatar_for_review_comment_type() public WC 2.3

Make sure WP displays avatars for comments with the review type.

{} It's a method of the class: WC_Comments{}

No Hooks.

Return

Array.

Usage

$result = WC_Comments::add_avatar_for_review_comment_type( $comment_types );
$comment_types(array) (required)
Comment types.

Changelog

Since 2.3 Introduced.

Code of WC_Comments::add_avatar_for_review_comment_type() WC 5.7.1

public static function add_avatar_for_review_comment_type( $comment_types ) {
	return array_merge( $comment_types, array( 'review' ) );
}