WC_Comments::exclude_webhook_comments_from_feed_where()
Exclude webhook comments from queries and RSS.
{} It's a 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. |
Code of WC_Comments::exclude_webhook_comments_from_feed_where() WC Comments::exclude webhook comments from feed where WC 6.6.1
public static function exclude_webhook_comments_from_feed_where( $where ) { return $where . ( $where ? ' AND ' : '' ) . " comment_type != 'webhook_delivery' "; }