PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/asktraining.online/wp-content/plugins/gdpr-framework/src/Installer/Steps/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/asktraining.online/wp-content/plugins/gdpr-framework/src/Installer/Steps/Consent.php

<?php

namespace Codelight\GDPR\Installer\Steps;

use Codelight\GDPR\Installer\InstallerStep;
use Codelight\GDPR\Installer\InstallerStepInterface;

class Consent extends InstallerStep implements InstallerStepInterface
{
    protected $slug = 'consent';

    protected $type = 'wizard';

    protected $template = 'installer/steps/consent';

    protected $activeSteps = 3;

    protected function renderContent()
    {
        $isRegistrationOpen = get_option('users_can_register');
        $isCommentsEnabled = class_exists('Disable_Comments') ? false : true;
        $privacyToolsPageUrl = get_permalink(gdpr('options')->get('tools_page'));
        $hasGravityForms = class_exists('\GFForms');
        $hasCF7 = class_exists('\WPCF7');
        $hasFrm = class_exists('\FrmHooksController');
        echo gdpr('view')->render(
            $this->template,
            compact('isRegistrationOpen', 'isCommentsEnabled', 'privacyToolsPageUrl', 'hasGravityForms', 'hasCF7', 'hasFrm')
        );
    }
}