# float-menu/3.5.3./admin/partials/fields/input.php

Float menu – awesome floating side menu, version 3.5.3.. 24 lines.

- Page: https://pluginprobe.com/plugins/float-menu/3.5.3./code/admin/partials/fields/input.php
- Raw: https://pluginprobe.com/plugins/float-menu/3.5.3./raw/admin/partials/fields/input.php
- Modified: 2021-07-28T10:31:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/float-menu/3.5.3./code/admin/partials/fields/input.php#L10-L20`.

```php
<?php
/**
 * Template for field input
 *
 * @package     Wow_Plugin
 * @copyright   Copyright (c) 2018, Dmytro Lobov
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       1.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$option = '';
if ( is_array( $options ) ) {
	foreach ( $options as $key => $value ) {
		$option .= ' ' . $key . '="' . $value . '"';
	}
}
$id = ( $id === null ) ? '' : ' id="' . $id . '"';
?>
<input type="<?php echo esc_attr( $type );?>" name="<?php echo esc_attr( $name );?>" value="<?php echo esc_attr( $val ); ?>" <?php echo wp_kses_post($id . $func. $option . $class);?>>
<?php echo '<' . esc_attr($separator).'/>';?>
```
