{"id":168460,"date":"2023-01-06T01:49:13","date_gmt":"2023-01-06T01:49:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cff-fitness-and-health-operations\/"},"modified":"2025-11-28T10:00:23","modified_gmt":"2025-11-28T10:00:23","slug":"cff-fitness-and-health-operations","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/cff-fitness-and-health-operations\/","author":9597242,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"CFF Fitness and Health Operations","header_author":"CodePeople","header_description":"Implements fitness and health operations module to use with the Calculated Fields Forms equations.","assets_banners_color":"b9358b","last_updated":"2025-11-28 10:00:23","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/cff-bundles.dwbooster.com\/product\/fitness-health-operations","header_plugin_uri":"https:\/\/cff-bundles.dwbooster.com\/product\/fitness-health-operations","header_author_uri":"https:\/\/cff-bundles.dwbooster.com","rating":5,"author_block_rating":0,"active_installs":70,"downloads":2827,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"codepeople","date":"2024-10-28 10:08:20"},"1.0.1":{"tag":"1.0.1","author":"codepeople2","date":"2025-11-28 10:00:23"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2844373,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2844373,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2844373,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2844373,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-01.png":{"filename":"screenshot-01.png","revision":2844373,"resolution":"1","location":"assets","locale":""},"screenshot-02.png":{"filename":"screenshot-02.png","revision":2844373,"resolution":"2","location":"assets","locale":""},"screenshot-03.png":{"filename":"screenshot-03.png","revision":2844373,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Fitness and Health operations list item","2":"Fitness and Health operations buttons","3":"Equations editor and operation documentation"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[217008,15436,6165,1508,61774],"plugin_category":[],"plugin_contributors":[78370],"plugin_business_model":[],"class_list":["post-168460","plugin","type-plugin","status-publish","hentry","plugin_tags-cff","plugin_tags-equation","plugin_tags-fitness","plugin_tags-health","plugin_tags-operation","plugin_contributors-codepeople","plugin_committers-codepeople","plugin_committers-codepeople2"],"banners":{"banner":"https:\/\/ps.w.org\/cff-fitness-and-health-operations\/assets\/banner-772x250.png?rev=2844373","banner_2x":"https:\/\/ps.w.org\/cff-fitness-and-health-operations\/assets\/banner-1544x500.png?rev=2844373","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cff-fitness-and-health-operations\/assets\/icon-128x128.jpg?rev=2844373","icon_2x":"https:\/\/ps.w.org\/cff-fitness-and-health-operations\/assets\/icon-256x256.jpg?rev=2844373","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/cff-fitness-and-health-operations\/assets\/screenshot-01.png?rev=2844373","caption":"Fitness and Health operations list item"},{"src":"https:\/\/ps.w.org\/cff-fitness-and-health-operations\/assets\/screenshot-02.png?rev=2844373","caption":"Fitness and Health operations buttons"},{"src":"https:\/\/ps.w.org\/cff-fitness-and-health-operations\/assets\/screenshot-03.png?rev=2844373","caption":"Equations editor and operation documentation"}],"raw_content":"<!--section=description-->\n<p>The plugin implements the \"Fitness and Health\" operations module to be used from the equations of the <a href=\"https:\/\/wordpress.org\/plugins\/calculated-fields-form\/\">\"Calculated Fields Form\"<\/a> 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.<\/p>\n\n<p>[youtube https:\/\/youtu.be\/ut1KiPDZNHA]<\/p>\n\n<p>The \"CFF Fitness and Health Operations\" plugin enhances, even more, the possibilities of the <a href=\"https:\/\/wordpress.org\/plugins\/calculated-fields-form\/\">\"Calculated Fields Form\"<\/a> plugin, including essential operations in fitness or health-related projects as listed below:<\/p>\n\n<p><strong>BMI<\/strong>: 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: <em>Severe Thinness<\/em>, <em>Moderate Thinness<\/em>, <em>Mild Thinness<\/em>, <em>Normal<\/em>, <em>Overweight<\/em>, <em>Obese Class I<\/em>, <em>Obese Class II<\/em>, <em>Obese Class III<\/em>.<\/p>\n\n<p>Ex: <strong>BMI(85, 1.65)<\/strong> Result: <strong>31.2<\/strong>\nEx: <strong>BMI(85, 1.65, true)<\/strong> Result: <strong>Obese Class I<\/strong>\nFor weight in pounds, divide its value by 2.2. Ex: <strong>BMI(187\/2.2, 1.65)<\/strong> Result: <strong>31.2<\/strong>\nFor 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 <strong>BMI(85, 5<em>0.3048+4.96<\/em>0.0254)<\/strong> Result: <strong>31.2<\/strong><\/p>\n\n<p><strong>BFP<\/strong>: The Body Fat Percentage calculator estimates the total body fat percentage. It accepts five parameters: weight (in Kg), height (in meters), gender (<em>male<\/em> or 0, <em>female<\/em> 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: <em>Underfat<\/em>, <em>Healthy<\/em>, <em>Overweight<\/em>, <em>Obese<\/em>.<\/p>\n\n<p>Ex: <strong>BFP(85, 1.65, &quot;male&quot;, 44)<\/strong> Result: <strong>31.39<\/strong>\nEx: <strong>BFP(85, 1.65, &quot;male&quot;, 44, true)<\/strong> Result: <strong>Obese<\/strong>\nFor weight in pounds, divide its value by 2.2. Ex: <strong>BFP(187\/2.2, 1.65, &quot;male&quot;, 44)<\/strong> Result: <strong>31.39<\/strong>\nFor 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 <strong>BFP(85, 5<em>0.3048+4.96<\/em>0.0254, &quot;male&quot;, 44)<\/strong> Result: <strong>31.39<\/strong><\/p>\n\n<p><strong>BMR<\/strong>: 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 (<em>male<\/em> or 0, <em>female<\/em> or 1), age (in years), and activity level (<em>bmr<\/em>, <em>sedentary<\/em>, <em>light<\/em>, <em>moderate<\/em>, <em>active<\/em>, <em>very<\/em>, <em>extra<\/em>)<\/p>\n\n<p><em>bmr<\/em>: amount of energy expended per day at rest.\n<em>sedentary<\/em>: little or no exercise.\n<em>light<\/em>: exercise 1-3 times\/week.\n<em>moderate<\/em>: exercise 4-5 times\/week.\n<em>active<\/em>: daily exercise or intense exercise 3-4 times\/week.\n<em>very<\/em>: intense exercise 6-7 times\/week.\n<em>extra<\/em>: very intense exercise daily, or physical job.<\/p>\n\n<p>Ex: <strong>BMR(85, 1.65, &quot;male&quot;, 44, &quot;sedentary&quot;)<\/strong> Result: <strong>2000<\/strong>\nFor weight in pounds, divide its value by 2.2. Ex: <strong>BMR(187\/2.2, 1.65, &quot;male&quot;, 44, &quot;sedentary&quot;)<\/strong> Result: <strong>2000<\/strong>\nFor 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 <strong>BMR(85, 5<em>0.3048+4.96<\/em>0.0254, &quot;male&quot;, 44, &quot;sedentary&quot;)<\/strong> Result: <strong>2000<\/strong><\/p>\n\n<p><strong>WEIGHTGOAL<\/strong>: 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 (<em>male<\/em> or 0, <em>female<\/em> or 1), age (in years), and activity level (<em>bmr<\/em>, <em>sedentary<\/em>, <em>light<\/em>, <em>moderate<\/em>, <em>active<\/em>, <em>very<\/em>, <em>extra<\/em>), goal (<em>maintain<\/em>, <em>mild loss<\/em>, <em>loss<\/em>, <em>extreme loss<\/em>, <em>mild gain<\/em>, <em>gain<\/em>, <em>fast gain<\/em>)<\/p>\n\n<p>Ex: <strong>WEIGHTGOAL(85, 1.65, &quot;male&quot;, 44, &quot;sedentary&quot;, &quot;mild loss&quot;)<\/strong> Result: <strong>1725<\/strong>\nFor weight in pounds, divide its value by 2.2. Ex: <strong>WEIGHTGOAL(187\/2.2, 1.65, &quot;male&quot;, 44, &quot;sedentary&quot;, &quot;mild loss&quot;)<\/strong> Result: <strong>1725<\/strong>\nFor 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 <strong>WEIGHTGOAL(85, 5<em>0.3048+4.96<\/em>0.0254, &quot;male&quot;, 44, &quot;sedentary&quot;, &quot;mild loss&quot;)<\/strong> Result: <strong>1725<\/strong><\/p>\n\n<p><strong>IBW<\/strong>: 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 (<em>male<\/em> or 0, <em>female<\/em> or 1)<\/p>\n\n<p>Ex: <strong>IBW(1.65, &quot;male&quot;)<\/strong> Result: <strong>61.41<\/strong>\nFor 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 <strong>IBW(5<em>0.3048+4.96<\/em>0.0254, &quot;male&quot;)<\/strong> Result: <strong>61.41<\/strong><\/p>\n\n<p><strong>PREGNANCY<\/strong>: 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 (<em>due<\/em> or 0, <em>conception<\/em> or 1)<\/p>\n\n<p>Ex: <strong>PREGNANCY(&quot;05\/14\/2022&quot;, &quot;mm\/dd\/yyyy&quot;, &quot;due&quot;)<\/strong> Result: <strong>02\/18\/2023<\/strong>\nEx: <strong>PREGNANCY(&quot;05\/14\/2022&quot;, &quot;mm\/dd\/yyyy&quot;, &quot;conception&quot;)<\/strong> Result: <strong>05\/28\/2022<\/strong><\/p>\n\n<h3>Use<\/h3>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<p>To install the \"CFF Fitness and Health Operations\" plugin:<\/p>\n\n<ul>\n<li>Go to the Plugins section on your WordPress.<\/li>\n<li>Press the \"Add New\" button at the top of the Plugins section (or WordPress submenu).<\/li>\n<li>Enter the \"CFF Fitness and Health Operations\" into the search box.<\/li>\n<li>Press the corresponding \"Install\" button.<\/li>\n<li>And finally, press the \"Activate\" one.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Resolves a notice by ensuring the language files are properly loaded.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First version released.<\/li>\n<\/ul>","raw_excerpt":"Implements fitness and health operations module to use with the Calculated Fields Forms equations.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/168460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=168460"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/codepeople"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=168460"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=168460"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=168460"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=168460"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=168460"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=168460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}