File "field-suggest.php"

Full Path: /www/wwwroot/shphe-en.com/wp-content/plugins/bb-plugin/includes/field-suggest.php
File size: 907 bytes
MIME-type: --
Charset: utf-8

<?php

$class 			= isset( $field['class'] ) ? ' ' . $field['class'] : '';
$action 		= isset( $field['action'] ) ? $field['action'] : '';
$data   		= isset( $field['data'] ) ? $field['data'] : '';
$placeholder 	= isset( $field['placeholder'] ) ? esc_attr( $field['placeholder'] ) : esc_attr( 'Start typing...', 'fl-builder' );
$limit 			= isset( $field['limit'] ) ? $field['limit'] : 'false';
$args 			= isset( $field['args'] ) && is_array( $field['args'] ) ? $field['args'] : array();
$value  		= FLBuilderAutoSuggest::get_value( $action, $value, $data );

?>
<input type="text" class="text text-full fl-suggest-field<?php echo $class; ?>" name="<?php echo $name; ?>" data-value='<?php echo $value; ?>' data-action="<?php echo $action; ?>" data-action-data="<?php echo $data; ?>" data-limit="<?php echo $limit; ?>" data-args='<?php echo json_encode( $args ); ?>' placeholder="<?php echo $placeholder; ?>" />