HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux bsx-1-dev 6.8.0-101-generic #101-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 9 10:15:05 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/memberpress/app/lib/interfaces/MeprProductInterface.php
<?php

if (!defined('ABSPATH')) {
    die('You are not allowed to call this page directly.');
}

interface MeprProductInterface
{
    /**
     * Get the group this product belongs to
     *
     * @return MeprGroup|false
     */
    public function group();

    /**
     * Check if this product is an upgrade
     *
     * @return boolean
     */
    public function is_upgrade();

    /**
     * Check if this product is a downgrade
     *
     * @return boolean
     */
    public function is_downgrade();

    /**
     * Check if this product is either an upgrade or downgrade
     *
     * @return boolean
     */
    public function is_upgrade_or_downgrade();
}