A WordPress-centric search engine for devs and theme authors



upload_dir ›

Since2.0.0
Deprecatedn/a
apply_filters( 'upload_dir', $cache[ $key ] )
Parameters:
  • (array) $uploads Array of upload directory data with keys of 'path', 'url', 'subdir, 'basedir', and 'error'.
    Required: Yes
Defined at:
Codex:

Filters the uploads directory data.





Source

$uploads = apply_filters( 'upload_dir', $cache[ $key ] );