Structure Toolbox is an ExpressionEngine plugin with various helper functions for working with Structure.
get_parent_ids:
{exp:structure_toolbox:get_parent_ids ids="4|12|26"}
Returns the entry id's, pipe-separated, for the supplied entry id's.
get_top_level_ids:
{exp:structure_toolbox:get_top_level_ids show_hidden="no"}
Returns the entry id's, pip-separated, for the top-most level in the structure tree. Use the show_hidden="yes" to also return entries that are hidden from navigation.
- Initial Public Release