update_collection — Update an existing collection.¶
Summary¶
- update_collection($collection, $metadata = array(), $elementTexts = array())¶
Update an existing collection.
Parameters: - $collection (Collection|int) – Either an Collection object or the ID for the collection.
- $metadata (array) – Set of options that can be passed to the collection.
- $elementTexts (array) – The element texts for the collection.
Returns: Collection