MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/cafsindia/www/wp-content/plugins/imageseo/src/Helpers/Bulk/FiltersSpecification.php
<?php

namespace ImageSeoWP\Helpers\Bulk;

if (!defined('ABSPATH')) {
    exit;
}

class FiltersSpecification
{
    const EQUALS = 'EQUALS';
    const CONTAINS = 'CONTAINS';
    const NOT_EQUALS = 'NOT_EQUALS';
    const NOT_CONTAINS = 'NOT_CONTAINS';
    const GREATER = 'GREATER';
    const LESSER = 'LESSER';
    const GREATER_THAN = 'GREATER_THAN';
    const LESSER_THAN = 'LESSER_THAN';

    public function getConditions()
    {
        return apply_filters('imageseo_bulk_filters_condition', [
            self::EQUALS            => [
                'name' => __('Equals', 'imageseo'),
            ],
            self::CONTAINS          => [
                'name' => __('Contains', 'imageseo'),
            ],
            self::NOT_EQUALS        => [
                'name' => __('Not equals', 'imageseo'),
            ],
            self::NOT_CONTAINS      => [
                'name' => __('Not contains', 'imageseo'),
            ],
            self::GREATER           => [
                'name' => 'Greater (>)',
            ],
            self::LESSER              => [
                'name' => 'Less (<)',
            ],
            self::GREATER_THAN      => [
                'name' => 'Greater than (>=)',
            ],
            self::LESSER_THAN       => [
                'name' => 'Lesser than (<=)',
            ],
        ]);
    }
}