Let devs prefix your ExpressionEngine variables with a custom value
Mar 10. 11I struck upon a wonderful little idea which I’ve implemented in a simple plug-in I’m writing for a project I’m currently working on.., add a ‘variable_prefix’ parameter to your plug-in or module… allow devs using your add on to opt to have variables prefixed with any value.
This is really useful if your add on might have variables which conflict with another add on or native ExpressionEngine variables. This could also allows a dev to nest once instance of your plug-in in another without having to resort to embeds, they simply specify a tag prefix for the outer tag pair.