_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.7.2

apply_filters('_wp_relative_upload_path') is found 1 times:

  • /wp-includes/post.php line 914
    910
    911
    912
    913
    914
    915
    916
    917
    918
    919
    920
         *
         * @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: