The nexter/get-snippet ability retrieves a single code snippet from Nexter Extension by its ID. It returns the complete snippet record including the code content, type, active status, display conditions, and all metadata. Use this ability to read snippet details before editing or toggling.
Key Takeaways
Required Setup
This ability ships with Nexter Extension (Free). If you do not have it installed, follow the guide on how to install and activate Nexter Extension first.
Parameters
What It Returns
The ability returns the full snippet object. Fields include: id, name, code, type (php, css, javascript, or htmlmixed), status (active or inactive), description, tags, location, code_execute, priority, insertion, start_date, end_date, include_rules, exclude_rules, and php_hidden_execute.











