WC_Comments::add_avatar_for_review_comment_type() public WC 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 Comments::add avatar for review comment type WC 5.0.0
public static function add_avatar_for_review_comment_type( $comment_types ) {
return array_merge( $comment_types, array( 'review' ) );
}