_wp_relative_upload_path

_wp_relative_upload_path

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('_wp_relative_upload_path') is found 1 times:

  • /wp-includes/post.php line 841
    	 *
    	 * @param string $new_path Relative path to the file.
    	 * @param string $path     Full path to the file.
    	 */
    	return apply_filters( '_wp_relative_upload_path', $new_path, $path );
    }
    
    /**
     * Retrieves all children of the post parent ID.
     *
     * Normally, without any enhancements, the children would apply to pages. In the
    

See this hook used in plugins: