|
@@ 2079-2083 (lines=5) @@
|
| 2076 |
|
$progress = apply_filters( 'give_goal_amount_funded_percentage_output', $progress, $form->ID, $form ); |
| 2077 |
|
|
| 2078 |
|
// Define Actual Goal based on the goal format. |
| 2079 |
|
if ( 'percentage' === $goal_format ) { |
| 2080 |
|
$actual = "{$actual}%"; |
| 2081 |
|
} elseif ( 'amount' === $goal_format ) { |
| 2082 |
|
$actual = give_currency_filter( give_format_amount( $actual ) ); |
| 2083 |
|
} |
| 2084 |
|
|
| 2085 |
|
// Define Total Goal based on the goal format. |
| 2086 |
|
if ( 'percentage' === $goal_format ) { |
|
@@ 2086-2090 (lines=5) @@
|
| 2083 |
|
} |
| 2084 |
|
|
| 2085 |
|
// Define Total Goal based on the goal format. |
| 2086 |
|
if ( 'percentage' === $goal_format ) { |
| 2087 |
|
$total_goal = ''; |
| 2088 |
|
} elseif ( 'amount' === $goal_format ) { |
| 2089 |
|
$total_goal = give_currency_filter( give_format_amount( $total_goal ) ); |
| 2090 |
|
} |
| 2091 |
|
|
| 2092 |
|
$stats_array = array_merge( |
| 2093 |
|
array( |