if.contains

/ Conditionals / if.contains

Title : if.contains
Purpose : If condition with AND to check contains
Syntax : [if.contains needle=”value” haystack=”{array}”]/** ** code***/[/if.contains]
Example 1 :
Code :  [if.contains haystack=”{user_data.key_skills}” needle=”{@child.item.slug}”]
selected
[/if.contains]
Output :
Description : if haystack contains needle then executes, Parameters supported : needle(key), haystack(comma separated string)
Categories
Most Popular

Leave a Reply

Your email address will not be published.