apply_filters( '_wp_relative_upload_path', string $new_path, string $path )

Filters the relative path to an uploaded file.


Parameters Parameters

$new_path

(string) Relative path to the file.

$path

(string) Full path to the file.


Top ↑

Source Source

File: wp-includes/post.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.