apply_filters( 'upload_dir', array $uploads )
Filters the uploads directory data.
Parameters
- $uploads
-
Array of upload directory data with keys of 'path', 'url', 'subdir, 'basedir', and 'error'.
Source
Changelog
Version | Description |
---|---|
WP-2.0.0 | Introduced. |