$page->filesUrl() method

Returns the URL for files, creating it if it does not yet exist

Available since version 3.0.138. You can use the equivalent but more verbose `$page->filesManager()->url()` in any version

Usage

$string = $page->filesUrl();

Return value

string


$page methods and properties

API reference based on ProcessWire core version 3.0.244

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits