Enterprise Shortcode Category: Conditionals
if.contains
Title
:
if.contains
Purpose
:
If condition with AND to check contains
Syntax
:
[if.contains needle=”value” haystack=”{array}”]/** ** code***/[/if
if.not_contains
Title
:
if.not_contains
Purpose
:
if haystack not contains needle then executes
Syntax
:
[if.not_contains needle=”value” haystack=”{array}”]
/** ** code