get_collection_for_item — Get the Collection object for the current item.

Item-related functions

Summary

get_collection_for_item($item = null)

Get the Collection object for the current item.

Parameters:
  • $item (Item|null) – Check for this specific item record (current item if null).
Returns:

Collection

Usage

Examples

See Also