This function will create a shortcode that can compare 2 values.
[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.
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