<commit_before># upload

The `upload` control is identical to the `image` control, the only difference is that it allows uploading more file types and not only images.<commit_msg>Update upload.md<commit_after># upload

The `upload` control is identical to the `image` control, the only difference is that it allows uploading more file types and not only images.

## Usage

* returns `string` (url of the uploaded file).

```php
<?php
$file_url = get_theme_mod( 'my_setting', '' );
printf( esc_attr__( 'URL of uploaded file: %s', 'my_textdomain' ), $file_url );
?>
```
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.0, 'mean_word_length': 5.173913043478261, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7355450', 'n_tokens_mistral': 170, 'n_tokens_neox': 162, 'n_words': 74}