| Server IP : 45.33.98.47 / Your IP : 216.73.217.106 Web Server : Apache/2.4.66 (Debian) System : Linux 8783c923f53b 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/wpforms-lite/src/Integrations/Elementor/Controls/ |
Upload File : |
<?php
// phpcs:disable Generic.Commenting.DocComment.MissingShort
/** @noinspection PhpUndefinedNamespaceInspection */
/** @noinspection PhpUndefinedClassInspection */
// phpcs:enable Generic.Commenting.DocComment.MissingShort
namespace WPForms\Integrations\Elementor\Controls;
use Elementor\Base_Data_Control;
/**
* Custom WPForms Themes control for Elementor editor.
*
* @since 1.9.6
*/
class WPFormsThemes extends Base_Data_Control {
/**
* Get the control type.
*
* @since 1.9.6
*
* @return string Control type.
*/
public function get_type() {
return 'wpforms_themes';
}
/**
* Get the control's default settings.
*
* @since 1.9.6
*
* @return array Control default settings.
*/
protected function get_default_settings() {
return [
'label_block' => true,
];
}
/**
* Render control output in the editor.
*
* @since 1.9.6
*/
public function content_template() {
?>
<div class="elementor-control-field">
<div class="elementor-control-input-wrapper">
<div class="wpforms-elementor-themes-control"></div>
</div>
</div>
<?php
}
}