Skip to content

Commit

Permalink
Merge pull request #1596 from publishpress/feature/#1582_Update_conte…
Browse files Browse the repository at this point in the history
…nt_overview_filters_compare_labels

feature/#1582_Update_content_overview_filters_compare_labels
  • Loading branch information
olatechpro authored Apr 25, 2024
2 parents 799309b + 156f8fe commit 09ccae6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions modules/content-overview/content-overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -2020,15 +2020,15 @@ public function content_overview_filters()

private function meta_query_operator($operator = false) {
$operators = [
'equals' => '=',
'not_equals' => '!=',
'greater_than' => '>',
'greater_than_or_equals' => '>=',
'less_than' => '<',
'less_than_or_equals' => '<=',
'like' => 'LIKE',
'not_like' => 'NOT LIKE',
'not_exists' => 'NOT EXISTS/EMPTY',
'equals' => 'Equals (=)',
'not_equals' => 'Does not equal (!=)',
'greater_than' => 'Greater than (>)',
'greater_than_or_equals' => 'Greater than or equals (>=)',
'less_than' => 'Less than (<)',
'less_than_or_equals' => 'Less than or equals (<=)',
'like' => 'Like/Contains',
'not_like' => 'Not Like',
'not_exists' => 'Not Exists/Empty',
];

if ($operator) {
Expand Down

0 comments on commit 09ccae6

Please sign in to comment.