A snippet is a small piece of re-usable code that can be used to provide extra functionality or to modify the appearance of a Drupal site.
Code snippets can be used as an alternative to installing a module.
When working with code snippets, it is important to place the code in the correct place within your site. A snippet won't give the expected results if it's in the wrong place.
If a snippet is provided without clear installation instructions, do research into how to use it by consulting the community.
Before adding a new snippet, always make backups of any files or content you are editing.