', self::render_attributes( $attributes ) ); // Value. $val = isset( $meta[1] ) ? $meta[1] : ''; $attributes = self::get_attributes( $field, $val ); $attributes['placeholder'] = $field['placeholder']['value']; $html .= sprintf( '', self::render_attributes( $attributes ) ); return $html; } protected static function begin_html( array $field ) : string { $desc = $field['desc'] ? "
{$field['desc']}
" : ''; if ( empty( $field['name'] ) ) { return '