Function __global->update_filedump_links
Definitions
sources/filedump.php
- Remap pre-existing filedump links from one path to another.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $from | string | No | No | required parameter | N/A | N/A | Old path (give a path relative to uploads/filedump, with leading slash) |
| $to | string | No | No | required parameter | N/A | N/A | New path (give a path relative to uploads/filedump, with leading slash) |
Preview
Code (PHP)
/**
* Remap pre-existing filedump links from one path to another.
*
* @param string $from Old path (give a path relative to uploads/filedump, with leading slash)
* @param string $to New path (give a path relative to uploads/filedump, with leading slash)
*/
function update_filedump_links(string $from, string $to)
* Remap pre-existing filedump links from one path to another.
*
* @param string $from Old path (give a path relative to uploads/filedump, with leading slash)
* @param string $to New path (give a path relative to uploads/filedump, with leading slash)
*/
function update_filedump_links(string $from, string $to)

