HEX
Server: Apache
System: Linux linplesk41.pumo.com.tw 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
User: rajlaw (10192)
PHP: 7.4.24
Disabled: phpinfo,passthru,exec,shell_exec,system,popen,proc_open,proc_close,show_source,pcntl_exec,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,escapeshellarg
Upload Files
File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/plugins/xj4u9wxb/includes/lib/Cf7_License.php
<?php


class Cf7_License {
    public static function get_license_version() {
        if (function_exists('cf7_styler')) {
            $is_paying = cf7_styler()->is_paying_or_trial();

            if ($is_paying) {
                return  'pro';
            }

            if (cf7_styler()->is_paying__fs__()) {
                return  'pro';
            }

            if (cf7_styler()->is_trial()) {
                return  'pro';
            }
        }

        if ( !cf7cstmzr_is_plugin_activated( 'wp2leads', 'wp2leads.php' ) ) {
            return 'free';
        }

        $wp2l_license = get_option('wp2l_license');
        $wp2l_license_version = !empty($wp2l_license['version']) ? $wp2l_license['version'] : 'free';

        return $wp2l_license_version;
    }

    public static function is_wp2leads_installed() {
        return cf7cstmzr_is_plugin_activated( 'wp2leads', 'wp2leads.php' );
    }
}