Shortcodes
Helper Functions
Understanding and using helper functions with shortcodes in Flashquotes
Helper functions provide even more power and flexibility when you use shortcodes. The general syntax for helper functions is {{function_name variable_1 variable_2...}}
where the function_name value tells the system which function to trigger.
Sometimes more advanced functions will have an open and closing tag which are formatted as:
- Opening tag:
{{#function_name}}
- Closing tag:
{{/function_name}}
For example, the If Conditions us opening and closing tag syntax
Available Functions
- Default Values - Specify default fallback values when fields are empty
- If Conditions - Return something if a value is not empty
- Unless Conditions - Return something unless a value is not empty
Was this page helpful?