Filter: gravityview/math/table_footer_calculation/math_shortcode
Modify Math shortcode used for calculation.
Parameters
| Name | Type | Description |
|---|---|---|
| $shortcode | string | The Math shortcode being used for calculation. |
| $filter_data | array | |
| ↳ $scope | string | The scope in which the calculation is being performed. |
| ↳ $field_id | string | The ID of the field being calculated. |
| ↳ $view_id | int | The ID of the GravityView view. |
| ↳ $form_id | int | The ID of the Gravity Forms form. |
| ↳ $calculation_type | string | The type of calculation being performed (e.g., 'count', 'sum', 'avg'). |
| ↳ $field | array | Data about the field being calculated. |
| ↳ $column | array | Data about the column in the view. |
| ↳ $formula | string | The math formula used for the calculation. |
| ↳ $process_empty_meta | string | Whether to process fields with empty meta (1 or 0). |
| ↳ $multi_select_count_method | string | Method for counting multi-select field choices (count individually or as one). |
Since
Source
Defined in includes/class-gravitymath-table-footer-calculation.php at line 795