WC_Comments::add_avatar_for_review_comment_type()
Make sure WP displays avatars for comments with the review type.
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. |
WC_Comments::add_avatar_for_review_comment_type() WC Comments::add avatar for review comment type code WC 8.0.2
public static function add_avatar_for_review_comment_type( $comment_types ) { return array_merge( $comment_types, array( 'review' ) ); }