Compare shortcode

This function will create a shortcode that can compare 2 values.

Shortcode:

[compare val1="test" val2="test" operator="=="]
List if the values are the same?
[/compare]
  • val1, val2 – what values to compare
  • operator – select one operator to compare values: == , ===, !=, <, >, <=, >=

You can change the returned text.

You can add this shortcode to your website from Advanced Settings.

Array

Profile Builder Pro

Create beautiful front-end registration and profile forms with custom fields. Setup member directories, custom redirects, cutomize user emails & more using the all in one user management plugin.

Unlock PRO Features

Or download FREE version