Добрый день всем! Как удалить данные пользователя? Помогите пожалуйста!
<?php adverts_flash( $adverts_flash ) ?>
<form action="" method="post" class="adverts-form <?php echo $form->get_layout() ?>">
<fieldset>
<?php foreach($form->get_fields( array( "type" => array( "adverts_field_hidden" ) ) ) as $field): ?>
<?php call_user_func( adverts_field_get_renderer($field), $field) ?>
<?php endforeach; ?>
<?php foreach($form->get_fields() as $field): ?>
<div class="adverts-control-group <?php echo esc_attr( str_replace("_", "-", $field["type"] ) . " adverts-field-name-" . $field["name"] ) ?> <?php if(adverts_field_has_errors($field)): ?>adverts-field-error<?php endif; ?>">
<?php if($field["type"] == "adverts_field_header"): ?>
<div class="adverts-field-header">
<span class="adverts-field-header-title"><?php echo esc_html($field["label"]) ?></span>
<?php if( isset( $field["description"] ) ): ?>
<span class="adverts-field-header-description"><?php echo esc_html( $field["description"] ) ?></span>
<?php endif; ?>
</div>
<?php else: ?>
<label for="<?php echo esc_attr($field["name"]) ?>">
<?php echo esc_html($field["label"]) ?>
<?php if(adverts_field_is_required($field)): ?>
<span class="adverts-form-required">*</span>
<?php endif; ?>
</label>
<?php call_user_func( adverts_field_get_renderer($field), $field) ?>
<?php endif; ?>
<?php if(adverts_field_has_errors($field)): ?>
<ul class="adverts-field-error-list">
<?php foreach($field["error"] as $k => $v): ?>
<li><?php echo esc_html($v) ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</div>
<?php endforeach; ?>
<div class="adverts-control-group <?php echo isset($actions_class) ? $actions_class : '' ?>">
<input type="submit" name="submit" value="<?php _e("Preview", "adverts") ?>" style="font-size:1.2em" class="adverts-cancel-unload" />
</div>
</fieldset>
</form>