apply_filters( '_wp_relative_upload_path', string $new_path , string $path )
Filters the relative path to an uploaded file.
Parameters
- $new_path
-
Relative path to the file.
- $path
-
Full path to the file.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
WP-2.9.0 | Introduced. |