| 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/www/wp-content/plugins/elementor-pro/modules/atomic-form/ |
Upload File : |
<?php
namespace ElementorPro\Modules\AtomicForm;
use Elementor\Modules\AtomicWidgets\PropTypes\Primitives\String_Prop_Type;
use Elementor\Modules\Components\PropTypes\Overridable_Prop_Type;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Default_Id_Provider {
public static function get_default_id( string $prefix ): string {
return $prefix . substr( wp_unique_id( '-' ), 0, 5 );
}
public static function get_default_id_prop( string $prefix ): String_Prop_Type {
return String_Prop_Type::make()->default( self::get_default_id( $prefix ) )->meta( Overridable_Prop_Type::ignore() );
}
}