WC_Comments::exclude_webhook_comments_from_feed_where( string $where )
Exclude webhook comments from queries and RSS.
Description Description
Parameters Parameters
- $where
-
(Required) The WHERE clause of the query.
Return Return
(string)
Source Source
File: includes/class-wc-comments.php
public static function exclude_webhook_comments_from_feed_where( $where ) { return $where . ( $where ? ' AND ' : '' ) . " comment_type != 'webhook_delivery' "; }
Changelog Changelog
Version | Description |
---|---|
2.1 | Introduced. |