LLMS_Comments
LLMS_Comments class
Description Description
Source Source
File: includes/class.llms.comments.php
Changelog Changelog
Version | Description |
---|---|
3.37.12 | Use strict comparisons. Handle empty array from wp_count_comments filter. Properly exclude "llms_order_note" comment types from comment counts.. |
3.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- delete_comments_count_cache — Delete transient data when inserting new comments or updating comment status
- exclude_order_comments — Exclude order comments from queries and RSS.
- exclude_order_comments_from_feed_join — Exclude order comments from queries and RSS.
- exclude_order_comments_from_feed_where — Exclude order comments from queries and RSS.
- get_approved_map — Retrieve an array mapping database values to their human-readable meanings
- get_note_counts — Retrieve order note comment counts.
- modify_comment_stats — Remove order notes from an existing comment count stats object.
- wp_count_comments — Remove order notes from the count when counting comments