New in 2.0: Snippets
Snippets are a new feature in EE 2.0 that allow you to store bits and pieces of code. “Great, Ryan, but this sounds like Global Variables” you’re thinking to yourself. Yes, but better.
Snippets are a native implementation of the Fresh Variables module on 1.6.8. Unlike normal User-defined Global Variables, the code you place in the Snippets is parsed (very early on during the parse order) by ExpressionEngine.
Get familiar with them by reading the official Snippets documentation.
Share on Twitter