WordPress at Your Fingertips
function is not described

ActionScheduler_Store::validate_sql_comparator() protected WC 1.0

{} It's a method of the class: ActionScheduler_Store{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->validate_sql_comparator( $comparison_operator );
$comparison_operator(string) (required)
-

Code of ActionScheduler_Store::validate_sql_comparator() WC 6.1.1

protected function validate_sql_comparator( $comparison_operator ) {
	if ( in_array( $comparison_operator, array('!=', '>', '>=', '<', '<=', '=') ) ) {
		return $comparison_operator;
	}
	return '=';
}