settings_name . '[' . $option['id'] . ']' : ''; $option_css = sanitize_html_class( $this->settings_name . '_' . $option['id'] ); $attributes = array(); if ( isset( $option['attributes'] ) && is_array( $option['attributes'] ) ) { foreach ( $option['attributes'] as $attribute_name => $attribute_value ) { $attributes[] = esc_attr( $attribute_name ) . '="' . esc_attr( $attribute_value ) . '"'; } } $value = wpsight_get_option( $option['id'] ); if( !isset( $value ) && isset( $option['default'] ) ) $value = $option['default']; $placeholder = isset( $option['placeholder'] ) ? 'placeholder="' . $option['placeholder'] . '"' : ''; ?>