{"title":"pop - Liquid Filter Reference","slug":"pop-filter-reference","url":"https://support.storeconnect.com/articles/pop-filter-reference","url_markdown":"https://support.storeconnect.com/articles/pop-filter-reference.md","subtitle":null,"summary":"Removes and returns the last item from a list. The original list is shortened by one element, similar to a stack pop operation.","type":"Developer_Documentation","video_url":"","keywords":"liquid, filters, pop, lists, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nRemoves the last item from an list\n\n| Property | Value |\n|----------|-------|\n| **Return Type** | any |\n| **Category** | lists |\n\n## Examples\n\n\n```liquid\n\nRemoved: {{ my_list | last }}\nNow have: {{ my_list | pop | join: \", \" }}\n```\n\n\n**Output:** `Removed: 5\\nNow have: 1, 2, 3, 4`"}