WC_Comments::add_avatar_for_review_comment_type( array $comment_types )
Make sure WP displays avatars for comments with the review
type.
Description Description
Parameters Parameters
- $comment_types
-
(Required) Comment types.
Return Return
(array)
Source Source
File: includes/class-wc-comments.php
public static function add_avatar_for_review_comment_type( $comment_types ) { return array_merge( $comment_types, array( 'review' ) ); }
Changelog Changelog
Version | Description |
---|---|
2.3 | Introduced. |