apply_filters( 'RML/Tree/ResolveByAbsolutePath', $folder, $path, $structure ) → {IFolder}
When a folder is not found by an absolute path this filter is called and looks up for folders which are perhaps handled by other structures. If you are hooking into this function please consider that you apply_filters for RML/Tree/Parsed manually.
Parameters:
Name | Type | Description |
---|---|---|
$folder |
IFolder | The folder (null if not found) |
$path |
string | The searched path |
$structure |
IStructure | The structure |
- Since:
- 3.3.1
Returns:
The found folder or null if not found
- Type
- IFolder