Title: UploadedFile::getClientFilename
Published: May 20, 2026
Last modified: August 20, 2026

---

# UploadedFile::getClientFilename()

[ Back to top](https://developer.wordpress.org/reference/classes/wordpress-aiclientdependencies-nyholm-psr7-uploadedfile/getclientfilename/?output_format=md#wp--skip-link--target)

## Source

    ```php
    public function getClientFilename(): ?string
    {
        return $this->clientFilename;
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/php-ai-client/third-party/nyholm/psr7/uploadedfile.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/php-ai-client/third-party/Nyholm/Psr7/UploadedFile.php#L130)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/php-ai-client/third-party/Nyholm/Psr7/UploadedFile.php#L130-L133)

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwordpress-aiclientdependencies-nyholm-psr7-uploadedfile%2Fgetclientfilename%2F)
before being able to contribute a note or feedback.