ActionScheduler_wpCommentLogger::get_where_clause
Return a SQL clause to exclude Action Scheduler comments.
Method of the class: ActionScheduler_wpCommentLogger{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->get_where_clause();
ActionScheduler_wpCommentLogger::get_where_clause() ActionScheduler wpCommentLogger::get where clause code WC 10.9.1
protected function get_where_clause() {
global $wpdb;
return sprintf( " AND {$wpdb->comments}.comment_type != '%s'", self::TYPE );
}