PluginProbe
FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment / 3.1.14
FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment v3.1.14
3.1.14 3.1.13 3.1.12 3.1.11 3.1.10 3.1.9 3.1.8 3.1.7 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 All 123 releases
← All changes | Inc/Framework/Inc/Base/Form.php +5 -6 1.0.2 → 3.1.14 View file →
@@ -1,12 +1,12 @@
1 1 <?php
2 2 /**
3 3 * @package FirePlugins Framework
4 - * @version 1.0.3
4 + * @version 1.2.6
5 5 *
6 6 * @author FirePlugins <[email protected]>
7 7 * @link https://www.fireplugins.com
8 - * @copyright Copyright © 2021 FirePlugins All Rights Reserved
8 + * @copyright Copyright © 2026 FirePlugins All Rights Reserved
9 9 * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
10 10 */
11 11
12 12 namespace FPFramework\Base;
@@ -70,16 +70,15 @@
70 70 // render content without form
71 71 $render_form = isset($this->options['render_form']) ? (bool) $this->options['render_form'] : false;
72 72 if (!$render_form)
73 73 {
74 - echo $formOutput;
75 - return;
74 + return $formOutput;
76 75 }
77 76
78 77 // render content with form
79 78 $this->options['content'] = $formOutput;
80 -
81 - fpframework()->renderer->form->render('form', $this->options);
79 +
80 + return fpframework()->renderer->form->render('form', $this->options, true);
82 81 }
83 82
84 83 /**
85 84 * Returns the default form options