i4w_is_iphone

Usage:

If the client device matches the queried type, the shortcode will return the embedded content, up to the optional ELSE clause. If the client device doesn’t match, the content after the ELSE clause will be returned.

[ELSE_is_iphone] conditional branching is supported.

Shortcode nesting is NOT supported.

Parameters:

None

Example:

[i4w_is_iphone]
  Display this if true
[ELSE_is_apache]
  Otherwise, display this
[/i4w_is_iphone]

API:

There is no API function equivalent for this shortcode.