ActionScheduler_wpCommentLogger::get_where_clause()protectedWC 1.0

Return a SQL clause to exclude Action Scheduler comments.

Метод класса: ActionScheduler_wpCommentLogger{}

Хуков нет.

Возвращает

Строку.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_where_clause();

Код ActionScheduler_wpCommentLogger::get_where_clause() WC 8.7.0

protected function get_where_clause() {
	global $wpdb;
	return sprintf( " AND {$wpdb->comments}.comment_type != '%s'", self::TYPE );
}