@@ -137,34 +137,25 @@ function get_settings_fields() {
137137 ),
138138 'wedevs_advanced ' => array (
139139 array (
140- 'name ' => 'text ' ,
141- 'label ' => __ ( 'Text Input ' , 'wedevs ' ),
142- 'desc ' => __ ( 'Text input description ' , 'wedevs ' ),
143- 'type ' => 'text ' ,
144- 'default ' => 'Title '
145- ),
146- array (
147- 'name ' => 'textarea ' ,
148- 'label ' => __ ( 'Textarea Input ' , 'wedevs ' ),
149- 'desc ' => __ ( 'Textarea description ' , 'wedevs ' ),
150- 'type ' => 'textarea '
140+ 'name ' => 'color ' ,
141+ 'label ' => __ ( 'Color ' , 'wedevs ' ),
142+ 'desc ' => __ ( 'Color description ' , 'wedevs ' ),
143+ 'type ' => 'color ' ,
144+ 'default ' => ''
151145 ),
152146 array (
153- 'name ' => 'checkbox ' ,
154- 'label ' => __ ( 'Checkbox ' , 'wedevs ' ),
155- 'desc ' => __ ( 'Checkbox Label ' , 'wedevs ' ),
156- 'type ' => 'checkbox '
147+ 'name ' => 'password ' ,
148+ 'label ' => __ ( 'Password ' , 'wedevs ' ),
149+ 'desc ' => __ ( 'Password description ' , 'wedevs ' ),
150+ 'type ' => 'password ' ,
151+ 'default ' => ''
157152 ),
158153 array (
159- 'name ' => 'radio ' ,
160- 'label ' => __ ( 'Radio Button ' , 'wedevs ' ),
161- 'desc ' => __ ( 'A radio button ' , 'wedevs ' ),
162- 'type ' => 'radio ' ,
163- 'default ' => 'no ' ,
164- 'options ' => array (
165- 'yes ' => 'Yes ' ,
166- 'no ' => 'No '
167- )
154+ 'name ' => 'wysiwyg ' ,
155+ 'label ' => __ ( 'Advanced Editor ' , 'wedevs ' ),
156+ 'desc ' => __ ( 'WP_Editor description ' , 'wedevs ' ),
157+ 'type ' => 'wysiwyg ' ,
158+ 'default ' => ''
168159 ),
169160 array (
170161 'name ' => 'multicheck ' ,
@@ -303,6 +294,6 @@ function get_pages() {
303294 }
304295
305296}
306- endif ;
297+ endif ;
307298
308299$ settings = new WeDevs_Settings_API_Test ();
0 commit comments