WC_Comments::add_avatar_for_review_comment_type()public staticWC 2.3

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

Метод класса: WC_Comments{}

Хуков нет.

Возвращает

Массив.

Использование

$result = WC_Comments::add_avatar_for_review_comment_type( $comment_types );
$comment_types(массив) (обязательный)
Comment types.

Список изменений

С версии 2.3 Введена.

Код WC_Comments::add_avatar_for_review_comment_type() WC 8.7.0

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