i4w_isset
Usage
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.
Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
| var | The name of the parameter whose existence is being determined. | None | Yes |
Example
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]