LLMS_Comments::exclude_order_comments_from_feed_join( string $join )
Exclude order comments from queries and RSS.
Parameters Parameters
- $join
-
(string) (Required) SQL join clause.
Return Return
(string)
Source Source
File: includes/class.llms.comments.php
public static function exclude_order_comments_from_feed_join( $join ) {
global $wpdb;
if ( ! strstr( $join, $wpdb->posts ) ) {
$join = " LEFT JOIN $wpdb->posts ON $wpdb->comments.comment_post_ID = $wpdb->posts.ID ";
}
return $join;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |