Submit
Path:
~
/
home
/
caidadmin
/
dev.scribes.sca-caid.org
/
wp-content
/
plugins
/
caldera-forms
/
fields
/
select2
/
File Content:
select2.php
<?php add_filter( 'caldera_forms_process_field_filtered_select2', 'caldera_forms_select2_populate_array' ); /** * Populate entry options for select2 field * * @since @todo * * @uses caldera_forms_process_field_filtered_select2 * * @param array $entry * * @return array */ function caldera_forms_select2_populate_array( $entry ){ if( !is_array( $entry ) ){ return $entry; } $new_entry = array(); foreach( $entry as $value ){ $new_entry[$value] = $value; } return $new_entry; }
Submit
FILE
FOLDER
Name
Size
Permission
Action
css
---
0755
field
---
0755
js
---
0555
.htaccess
127 bytes
0444
select2.php
501 bytes
0644
N4ST4R_ID | Naxtarrr