Given a dir (URL or path) to a files directory, return the page ID associated with it.
Usage
$int = PagefilesManager::dirToPageID(string $dir);
Arguments
Name | Type(s) | Description |
---|---|---|
dir | string | May be extended or regular directory, path or URL. |
Return value
int
PagefilesManager methods and properties
API reference based on ProcessWire core version 3.0.236