ActionScheduler_wpCommentLogger::get_where_clause()protectedWC 1.0

Return a SQL clause to exclude Action Scheduler comments.

Method of the class: ActionScheduler_wpCommentLogger{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_where_clause();

ActionScheduler_wpCommentLogger::get_where_clause() code WC 8.6.1

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