PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / trunk
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder vtrunk
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Modules / Widgets / OxygenEl.php

OxygenEl.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder trunk, at app/Modules/Widgets/OxygenEl.php

46 lines 786 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentForm\App\Modules\Widgets;
4
5 if (!class_exists('OxyEl')) {
6 return;
7 }
8
9 class OxygenEl extends \OxyEl
10 {
11 public function init()
12 {
13 $this->El->useAJAXControls();
14 }
15
16 public function class_names()
17 {
18 return ['ff-oxy-element'];
19 }
20
21 public function button_place()
22 {
23 $button_place = $this->accordion_button_place();
24
25 if ($button_place) {
26 return 'fluentform::' . $button_place;
27 }
28
29 return '';
30 }
31
32 public function button_priority()
33 {
34 return '';
35 }
36
37 public function isBuilderEditorActive()
38 {
39 if (wpFluentForm('request')->get('oxygen_iframe') || defined('OXY_ELEMENTS_API_AJAX')) {
40 return true;
41 }
42
43 return false;
44 }
45 }
46