HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /opt/wpsites/datainsightnow.com/wp-content/plugins/fluentform/app/Modules/Widgets/OxygenEl.php
<?php

namespace FluentForm\App\Modules\Widgets;

if (!class_exists('OxyEl')) {
    return;
}

class OxygenEl extends \OxyEl
{
    public function init()
    {
        $this->El->useAJAXControls();
    }

    public function class_names()
    {
        return ['ff-oxy-element'];
    }

    public function button_place()
    {
        $button_place = $this->accordion_button_place();

        if ($button_place) {
            return 'fluentform::' . $button_place;
        }

        return '';
    }

    public function button_priority()
    {
        return '';
    }

    public function isBuilderEditorActive()
    {
        if (wpFluentForm('request')->get('oxygen_iframe') || defined('OXY_ELEMENTS_API_AJAX')) {
            return true;
        }

        return false;
    }
}