WordPress at Your Fingertips
function is not described

WC_Comments::exclude_order_comments_from_feed_where() public WC 1.0

Exclude order comments from queries and RSS.

{} It's a method of the class: WC_Comments{}

No Hooks.

Return

String.

Usage

$result = WC_Comments::exclude_order_comments_from_feed_where( $where );
$where(string) (required)
The WHERE clause of the query.

Code of WC_Comments::exclude_order_comments_from_feed_where() WC 5.7.0

public static function exclude_order_comments_from_feed_where( $where ) {
	return $where . ( $where ? ' AND ' : '' ) . " comment_type != 'order_note' ";
}