Shortcodes

[wlt-bmr]

The following shortcode is available in the Pro Plus version only.

[wlt-bmr] is used to display the user’s┬áBasal Metabolic Rate (BMR). For more information on BMR and how it is calculated please visit our calculations page.

Shortcode Arguments

The shortcode supports the following arguments:

Argument Description Options Example
user-id By default, the shortcode will display the BMR for the current user. If you wish to display the BMR for a given user, use the following argument. A number. [wlt-bmr user-id="1"]
suppress-errors When calculating BMR, errors maybe thrown and displayed if certain criteria is missing e.g. Date of Birth, Gender, etc. These errors are displayed so the user can take action. True or false (default). [wlt-bmr suppress-errors="true"]
Yes No Suggest edit
Help Guide Powered by Documentor
Suggest Edit