WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about _wp_relative_upload_path

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php apply_filters 812 /**
* Filters the relative path to an uploaded file.
*
* @since 2.9.0
*
* @param string $new_path Relative path to the file.
* @param string $path Full path to the file.
*/

Hook Parameters

Parameter Type Name Description
string $new_path Relative path to the file.
string $path Full path to the file.