Filter: RML/Tree/ResolveById

apply_filters( 'RML/Tree/ResolveById', $folder, $id, $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)

$id integer

The searched Id

$structure IStructure

The structure

Since:
  • 3.3.1
Returns:

The found folder or null if not found

Type
IFolder