2020-05-01 / 5342阅 / 悠然
Generates semantic classes for each comment element.
(string|array)
(Optional)
>Default value: ''
(int|WP_Comment)
(Optional)
Comment ID or WP_Comment object. Default current comment.
Default value: null
(int|WP_Post)
(Optional)
Post ID or WP_Post object. Default current post.
Default value: null
(bool)
(Optional)
Whether to echo or return the output.
Default value: true
(void|string) Void if $echo argument is true, comment classes if $echo is false.