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
if.not_equal
Title
:
if.not_equal
Purpose
:
For executing a certain code block when two values are not equal
Syntax
:
[if.not_equal