ActionScheduler_wpCommentLogger::get_where_clause
Return a SQL clause to exclude Action Scheduler comments.
Метод класса: ActionScheduler_wpCommentLogger{}
Хуков нет.
Возвращает
string.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_where_clause();
Код ActionScheduler_wpCommentLogger::get_where_clause() ActionScheduler wpCommentLogger::get where clause WC 11.2.2
protected function get_where_clause() {
global $wpdb;
return sprintf( " AND {$wpdb->comments}.comment_type != '%s'", self::TYPE );
}