# fluentform/6.2.13/app/Modules/Widgets/OxygenEl.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 6.2.13. 46 lines.

- Page: https://pluginprobe.com/plugins/fluentform/6.2.13/code/app/Modules/Widgets/OxygenEl.php
- Raw: https://pluginprobe.com/plugins/fluentform/6.2.13/raw/app/Modules/Widgets/OxygenEl.php
- Modified: 2022-10-16T13:42:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluentform/6.2.13/code/app/Modules/Widgets/OxygenEl.php#L10-L20`.

```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;
    }
}

```
