Pipit v0.4

A new version of the Pipit app has been released.

v0.4 introduces a new function that returns the key of the collection an item belongs to (given the item ID):


This is useful when you know the a collection item ID, but you don’t know which collection it belongs to. For example, if you’re outputting items from multiple collections at once:

perch_collection(['Blog', 'News'], [
    'each' => function($item) {
        $item['collectionKey'] = pipit_get_collection_key_for($item['_id']);
        return $item;

You can go to the docs or GitHub repository to download the latest release.