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 9.3.3

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