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