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.


Top ↑

Return Return

(string)


Top ↑

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' ";
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.