Title: CFF Fitness and Health Operations
Author: codepeople
Published: <strong>January 6, 2023</strong>
Last modified: August 14, 2026

---

Search plugins

![](https://ps.w.org/cff-fitness-and-health-operations/assets/banner-772x250.png?
rev=2844373)

![](https://ps.w.org/cff-fitness-and-health-operations/assets/icon-256x256.jpg?rev
=2844373)

# CFF Fitness and Health Operations

 By [codepeople](https://profiles.wordpress.org/codepeople/)

[Download](https://downloads.wordpress.org/plugin/cff-fitness-and-health-operations.1.0.1.zip)

 * [Details](https://en-ca.wordpress.org/plugins/cff-fitness-and-health-operations/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/cff-fitness-and-health-operations/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/cff-fitness-and-health-operations/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/cff-fitness-and-health-operations/#developers)

 [Support](https://wordpress.org/support/plugin/cff-fitness-and-health-operations/)

## Description

The plugin implements the “Fitness and Health” operations module to be used from
the equations of the [“Calculated Fields Form”](https://wordpress.org/plugins/calculated-fields-form/)
plugin. The “Calculated Fields Form” plugin is a form builder with a lot of potential,
and its “Calculated” control is one of its great strengths. It allows you to enter
mathematical formulas, determine the distance between addresses, plot graphs, process
dates, manage files, and many other operations.

The “CFF Fitness and Health Operations” plugin enhances, even more, the possibilities
of the [“Calculated Fields Form”](https://wordpress.org/plugins/calculated-fields-form/)
plugin, including essential operations in fitness or health-related projects as 
listed below:

**BMI**: Calculates the Body Mass Index based on the user’s height and weight. It
accepts three parameters: weight (in Kg), height (in meters), and textual output(
true or false) (optional, default false). When the textual output is true, the operation
result would be any of the following texts: _Severe Thinness_, _Moderate Thinness_,
_Mild Thinness_, _Normal_, _Overweight_, _Obese Class I_, _Obese Class II_, _Obese
Class III_.

Ex: **BMI(85, 1.65)** Result: **31.2**
 Ex: **BMI(85, 1.65, true)** Result: **Obese
Class I** For weight in pounds, divide its value by 2.2. Ex: **BMI(187/2.2, 1.65)**
Result: **31.2** For heights in feet and inches, 1 foot = 0.3048 m and 1 in = 0.0254
m. Ex: If the user’s height is 5 ft and 4.96 in **BMI(85, 5_0.3048+4.96_0.0254)**
Result: **31.2**

**BFP**: The Body Fat Percentage calculator estimates the total body fat percentage.
It accepts five parameters: weight (in Kg), height (in meters), gender (_male_ or
0, _female_ or 1), age (in years), and textual output (true or false) (optional,
default false). When the textual output is true, the operation result would be any
of the following texts: _Underfat_, _Healthy_, _Overweight_, _Obese_.

Ex: **BFP(85, 1.65, "male", 44)** Result: **31.39**
 Ex: **BFP(85, 1.65, "male",
44, true)** Result: **Obese** For weight in pounds, divide its value by 2.2. Ex:**
BFP(187/2.2, 1.65, "male", 44)** Result: **31.39** For heights in feet and inches,
1 foot = 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft and 4.96
in **BFP(85, 5_0.3048+4.96_0.0254, "male", 44)** Result: **31.39**

**BMR**: The Basal Metabolic Rate calculator estimate the number of calories a person
needs to consume each day. It accepts five parameters: weight (in Kg), height (in
meters), gender (_male_ or 0, _female_ or 1), age (in years), and activity level(
_bmr_, _sedentary_, _light_, _moderate_, _active_, _very_, _extra_)

_bmr_: amount of energy expended per day at rest.
 _sedentary_: little or no exercise.
_light_: exercise 1-3 times/week. _moderate_: exercise 4-5 times/week. _active_:
daily exercise or intense exercise 3-4 times/week. _very_: intense exercise 6-7 
times/week. _extra_: very intense exercise daily, or physical job.

Ex: **BMR(85, 1.65, "male", 44, "sedentary")** Result: **2000**
 For weight in pounds,
divide its value by 2.2. Ex: **BMR(187/2.2, 1.65, "male", 44, "sedentary")** Result:**
2000** For heights in feet and inches, 1 foot = 0.3048 m and 1 in = 0.0254 m. Ex:
If the user’s height is 5 ft and 4.96 in **BMR(85, 5_0.3048+4.96_0.0254, "male",
44, "sedentary")** Result: **2000**

**WEIGHTGOAL**: The Goal Weight Calculator estimates the number of calories a person
needs to consume each day to reach his/her goal weight. It accepts six parameters:
weight (in Kg), height (in meters), gender (_male_ or 0, _female_ or 1), age (in
years), and activity level (_bmr_, _sedentary_, _light_, _moderate_, _active_, _very_,
_extra_), goal (_maintain_, _mild loss_, _loss_, _extreme loss_, _mild gain_, _gain_,
_fast gain_)

Ex: **WEIGHTGOAL(85, 1.65, "male", 44, "sedentary", "mild loss")** Result: **1725**

For weight in pounds, divide its value by 2.2. Ex: **WEIGHTGOAL(187/2.2, 1.65, "
male", 44, "sedentary", "mild loss")** Result: **1725** For heights in feet and 
inches, 1 foot = 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft 
and 4.96 in **WEIGHTGOAL(85, 5_0.3048+4.96_0.0254, "male", 44, "sedentary", "mild
loss")** Result: **1725**

**IBW**: The Ideal Body Weight Calculator estimates ideal weight (in Kg) based on
the person height, and gender. It accepts two parameters: height (in meters), and
gender (_male_ or 0, _female_ or 1)

Ex: **IBW(1.65, "male")** Result: **61.41**
 For heights in feet and inches, 1 foot
= 0.3048 m and 1 in = 0.0254 m. Ex: If the user’s height is 5 ft and 4.96 in **IBW(
5_0.3048+4.96_0.0254, "male")** Result: **61.41**

**PREGNANCY**: Determines the conception or due dates based on the first day of 
last menstrual period. It accepts three parameters: date, date format (Ex. dd/mm/
yyyy), and output (_due_ or 0, _conception_ or 1)

Ex: **PREGNANCY("05/14/2022", "mm/dd/yyyy", "due")** Result: **02/18/2023**
 Ex:**
PREGNANCY("05/14/2022", "mm/dd/yyyy", "conception")** Result: **05/28/2022**

### Use

The “CFF Fitness and Health Operations” plugin includes the new “Fitness and Health”
entry (see screenshots) in the operations list of the calculated fields (Insert 
a calculated field in the form and scroll down the operations list in your configuration).
Once the “Fitness and Health” option is selected, the plugin enables the operations
set and documentation. By clicking on the operation buttons, they are added to the
equation’s editor.

## Screenshots

[⌊Fitness and Health operations list item⌉⌊Fitness and Health operations list item⌉[

Fitness and Health operations list item

[⌊Fitness and Health operations buttons⌉⌊Fitness and Health operations buttons⌉[

Fitness and Health operations buttons

[⌊Equations editor and operation documentation⌉⌊Equations editor and operation documentation⌉[

Equations editor and operation documentation

## Installation

To install the “CFF Fitness and Health Operations” plugin:

 * Go to the Plugins section on your WordPress.
 * Press the “Add New” button at the top of the Plugins section (or WordPress submenu).
 * Enter the “CFF Fitness and Health Operations” into the search box.
 * Press the corresponding “Install” button.
 * And finally, press the “Activate” one.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CFF Fitness and Health Operations” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ codepeople ](https://profiles.wordpress.org/codepeople/)

[Translate “CFF Fitness and Health Operations” into your language.](https://translate.wordpress.org/projects/wp-plugins/cff-fitness-and-health-operations)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cff-fitness-and-health-operations/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cff-fitness-and-health-operations/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cff-fitness-and-health-operations/)
by [RSS](https://plugins.trac.wordpress.org/log/cff-fitness-and-health-operations/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Resolves a notice by ensuring the language files are properly loaded.

#### 1.0.0

 * First version released.

## Meta

 *  Version **1.0.1**
 *  Last updated: **2 months ago**
 *  Active installations: **60+**
 *  WordPress Version: ** 5.0 or higher **
 *  Tested up to: **7.1.3**
 *  PHP Version: ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cff-fitness-and-health-operations/)
 * Tags:
 * [equation](https://en-ca.wordpress.org/plugins/tags/equation/)[fitness](https://en-ca.wordpress.org/plugins/tags/fitness/)
   [health](https://en-ca.wordpress.org/plugins/tags/health/)[operation](https://en-ca.wordpress.org/plugins/tags/operation/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/cff-fitness-and-health-operations/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cff-fitness-and-health-operations/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cff-fitness-and-health-operations/reviews/)

## Contributors

 *   [ codepeople ](https://profiles.wordpress.org/codepeople/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cff-fitness-and-health-operations/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://cff-bundles.dwbooster.com/product/fitness-health-operations)