Filter: RML/ParentRoot

apply_filters( 'RML/ParentRoot', $folderId, $blogId ) → {int}

Get the root folder id which is showed in the folder tree.
Parameters:
Name Type Default Description
$folderId int -1 1 is "/ Unorganized"
$blogId int The current blog id
Source:
Returns:
The root folder id
Type
int
Example

Get the root folder

$root = _wp_rml_root();