📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 16:06:05
📂
/ (Root)
/
home
/
supecsoq
/
public_html
/
domains
/
migalexpark.com
/
wp-content
/
plugins
/
user-registration
/
includes
/
form
/
views
/
admin
📍 /home/supecsoq/public_html/domains/migalexpark.com/wp-content/plugins/user-registration/includes/form/views/admin
🔄 Refresh
✏️
Editing: admin-radio.php
Writable
<?php /** * Form View: Radio */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } // Compatibility for older version. Get string value from options in advanced settings. Modified since @1.5.7 $default_options = isset( $this->field_defaults['default_options'] ) ? $this->field_defaults['default_options'] : array(); $old_options = isset( $this->admin_data->advance_setting->options ) ? explode( ',', trim( $this->admin_data->advance_setting->options, ',' ) ) : $default_options; $options = isset( $this->admin_data->general_setting->options ) ? $this->admin_data->general_setting->options : $old_options; $default_value = isset( $this->admin_data->general_setting->default_value ) ? $this->admin_data->general_setting->default_value : ''; $options = array_map( 'trim', $options ); ?> <div class="ur-input-type-select ur-admin-template"> <div class="ur-label"> <label><?php echo esc_html( $this->get_general_setting_data( 'label' ) ); ?></label> </div> <div class="ur-field" data-field-key="radio"> <?php if ( count( $options ) < 1 ) { echo "<label><input type = 'radio' value='1' disabled/></label>"; } foreach ( $options as $option ) { $checked = ''; if ( ! empty( $option ) ) { $checked = checked( $option, $default_value, false ); } echo "<label><input type = 'radio' value='" . esc_attr( trim( $option ) ) . "' '" . $checked . "' disabled/>" . esc_html( trim( $option ) ) . '</label>'; } ?> </div> </div>
💾 Save Changes
❌ Cancel