| Server IP : 108.167.142.43 / Your IP : 216.73.217.58 Web Server : Apache System : Linux gator4174.hostgator.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64 User : delarice ( 2406) PHP Version : 8.3.36 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home2/delarice/public_html/wp-content/plugins/elementor-pro/modules/atomic-form/ |
Upload File : |
<?php
namespace ElementorPro\Modules\AtomicForm;
use Elementor\Modules\AtomicWidgets\PropTypes\Html_V3_Prop_Type;
use Elementor\Modules\AtomicWidgets\PropTypes\Primitives\String_Prop_Type;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
trait Text_Base {
protected static function get_text_prop_type() {
return class_exists( '\Elementor\Modules\AtomicWidgets\PropTypes\Escaped_Html_Prop_Type' )
? \Elementor\Modules\AtomicWidgets\PropTypes\Escaped_Html_Prop_Type::class
: Html_V3_Prop_Type::class;
}
protected static function does_use_escaped_html() {
return class_exists( '\Elementor\Modules\AtomicWidgets\PropTypes\Escaped_Html_Prop_Type' );
}
protected static function get_normalized_text( $text ) {
if ( self::does_use_escaped_html() ) {
return $text;
}
return [
'content' => String_Prop_Type::generate( $text ),
'children' => [],
];
}
}