WC_Comments::exclude_webhook_comments_from_feed_where()
Exclude webhook comments from queries and RSS.
Метод класса: WC_Comments{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = WC_Comments::exclude_webhook_comments_from_feed_where( $where );
- $where(строка) (обязательный)
- The WHERE clause of the query.
Список изменений
С версии 2.1 | Введена. |
Код WC_Comments::exclude_webhook_comments_from_feed_where() WC Comments::exclude webhook comments from feed where WC 9.8.1
public static function exclude_webhook_comments_from_feed_where( $where ) { return $where . ( $where ? ' AND ' : '' ) . " comment_type != 'webhook_delivery' "; }