clanbite_with_upload_subdir( string $relative_dir, callable $callback ): mixedRun a callback with upload_dir forced to a subdirectory of the uploads base (path + url + subdir).
Parameters
$relative_dir(string) RequiredPath under uploads base, e.g.
clanbite/teams/1/matches/staging(no leading slash).$callback(callable) RequiredInvoked while the filter is active.
Returns
mixed Return value of $callback.
Defined in inc/clanbite-team-challenge-uploads.php