LLMS_Comments::exclude_order_comments_from_feed_where( string $where )
Exclude order comments from queries and RSS.
Parameters Parameters
- $where
-
(string) (Required) SQL where clause.
Return Return
(string)
Source Source
File: includes/class.llms.comments.php
public static function exclude_order_comments_from_feed_where( $where ) {
global $wpdb;
if ( $where ) {
$where .= ' AND ';
}
$where .= " $wpdb->posts.post_type NOT IN ('" . implode( "','", array( 'llms_order' ) ) . "') ";
return $where;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |