golden hour
/home/godaofbq/hyperxpod.com/wp-content/plugins/elementskit-lite/modules/widget-builder/controls
⬆️ Go Up
Upload
File/Folder
Size
Actions
control-type-animation.php
1.24 KB
Del
OK
control-type-background.php
1.24 KB
Del
OK
control-type-border.php
1.23 KB
Del
OK
control-type-box-shadow.php
1.45 KB
Del
OK
control-type-choose.php
1.78 KB
Del
OK
control-type-code.php
1.49 KB
Del
OK
control-type-color.php
1.55 KB
Del
OK
control-type-date-time.php
1.47 KB
Del
OK
control-type-dimensions.php
1.95 KB
Del
OK
control-type-font.php
2.24 KB
Del
OK
control-type-gallery.php
1.11 KB
Del
OK
control-type-hover.php
1.17 KB
Del
OK
control-type-icons.php
1.58 KB
Del
OK
control-type-image-dimensions.php
1.94 KB
Del
OK
control-type-image-size.php
1.46 KB
Del
OK
control-type-input.php
1.6 KB
Del
OK
control-type-media.php
1.19 KB
Del
OK
control-type-number.php
1.62 KB
Del
OK
control-type-select.php
1.45 KB
Del
OK
control-type-select2.php
2.38 KB
Del
OK
control-type-slider.php
2.79 KB
Del
OK
control-type-switch.php
1.48 KB
Del
OK
control-type-text-area.php
1.38 KB
Del
OK
control-type-text-shadow.php
1.45 KB
Del
OK
control-type-typography.php
1.44 KB
Del
OK
control-type-url.php
1.74 KB
Del
OK
control-type-wys.php
1.43 KB
Del
OK
ct-base.php
263 B
Del
OK
ct-contract.php
187 B
Del
OK
ct-factory.php
2.59 KB
Del
OK
widget-writer.php
12.49 KB
Del
OK
Edit: ct-factory.php
<?php namespace ElementsKit_Lite\Modules\Widget_Builder\Controls; defined( 'ABSPATH' ) || exit; class CT_Factory { public function make( $type, $domain, $group = 'single' ) { if ( $group == 'single' ) { switch ( $type ) { case 'TextControl': return new Control_Type_Input( $domain ); case 'NumberControl': return new Control_Type_Number( $domain ); case 'UrlControl': return new Control_Type_URL( $domain ); case 'TextareaControl': return new Control_Type_Text_Area( $domain ); case 'SelectControl': return new Control_Type_Select( $domain ); case 'Select2Control': return new Control_Type_Select2( $domain ); case 'CodeControl': return new Control_Type_Code( $domain ); case 'SwitcherControl': return new Control_Type_Switch( $domain ); case 'ChooseControl': return new Control_Type_Choose( $domain ); case 'ColorControl': return new Control_Type_Color( $domain ); case 'EntranceAnimationControl': return new Control_Type_Animation( $domain ); case 'HoverAnimationControl': return new Control_Type_Animation( $domain ); case 'DateTimeControl': return new Control_Type_Date_Time( $domain ); case 'FontControl': return new Control_Type_Font( $domain ); case 'GalleryControl': return new Control_Type_Gallery( $domain ); case 'SliderControl': return new Control_Type_Slider( $domain ); case 'IconsControl': return new Control_Type_Icons( $domain ); case 'MediaControl': return new Control_Type_Media( $domain ); case 'WysiwygControl': return new Control_Type_Wys( $domain ); case 'DimensionsControl': return new Control_Type_Dimensions( $domain ); case 'ImageDimensionsControl': return new Control_Type_Image_Dimensions( $domain ); default: return new Control_Type_Input( $domain ); } } elseif ( $group == 'group' ) { switch ( $type ) { case 'BackgroundControl': return new Control_Type_Background( $domain ); case 'BorderControl': return new Control_Type_Border( $domain ); case 'TextShadowControl': return new Control_Type_Text_Shadow( $domain ); case 'BoxShadowControl': return new Control_Type_Box_Shadow( $domain ); case 'TypographyControl': return new Control_Type_Typography( $domain ); case 'ImageSizeControl': return new Control_Type_Image_Size( $domain ); default: return new Control_Type_Border( $domain ); } } elseif ( $group == 'responsive' ) { } return new Control_Type_Input( $domain ); } }
Save