apply_filters( 'upload_dir', array $uploads )

Filters the uploads directory data.


Parameters

$uploads

(array) Array of upload directory data with keys of 'path', 'url', 'subdir, 'basedir', and 'error'.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.0.0 Introduced.