WC_Comments::exclude_webhook_comments_from_feed_where()
Exclude webhook comments from queries and RSS.
Method of the class: WC_Comments{}
No Hooks.
Return
String
.
Usage
$result = WC_Comments::exclude_webhook_comments_from_feed_where( $where );
- $where(string) (required)
- The WHERE clause of the query.
Changelog
Since 2.1 | Introduced. |
WC_Comments::exclude_webhook_comments_from_feed_where() WC Comments::exclude webhook comments from feed where code WC 7.7.0
public static function exclude_webhook_comments_from_feed_where( $where ) { return $where . ( $where ? ' AND ' : '' ) . " comment_type != 'webhook_delivery' "; }