Skip to content

i4w_isset

This shortcode provides a means to determine if a parameter was passed to a custom shortcode and execute the appropriate conditional branch.

[ELSE_isset] conditional branching is supported.

Shortcode nesting is NOT supported.

ParameterDescriptionDefaultRequired
varThe name of the parameter whose existence is being determined.NoneYes
Shortcode
[i4w_isset var='varname']
Display this if the parameter named 'varname' was passed to the custom shortcode
[ELSE_isset]
Display this if the parameter named 'varname' was NOT passed to the custom shortcode
[/i4w_isset]