ActionScheduler_Store::validate_sql_comparator()
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)
- -
ActionScheduler_Store::validate_sql_comparator() ActionScheduler Store::validate sql comparator code WC 9.3.3
protected function validate_sql_comparator( $comparison_operator ) { if ( in_array( $comparison_operator, array('!=', '>', '>=', '<', '<=', '=') ) ) { return $comparison_operator; } return '='; }