| 1 |
<?php |
| 2 |
/** |
| 3 |
* The template used to display the suggested amounts field. |
| 4 |
* |
| 5 |
* @author Studio 164a |
| 6 |
* @since 1.0.0 |
| 7 |
* @version 1.0.0 |
| 8 |
*/ |
| 9 |
|
| 10 |
if ( ! isset( $view_args['form'] ) || ! isset( $view_args['field'] ) ) { |
| 11 |
return; |
| 12 |
} |
| 13 |
|
| 14 |
$form = $view_args['form']; |
| 15 |
$field = $view_args['field']; |
| 16 |
$classes = $view_args['classes']; |
| 17 |
|
| 18 |
if ( ! isset( $field['content'] ) ) { |
| 19 |
return; |
| 20 |
} |
| 21 |
?> |
| 22 |
<p class="<?php echo $classes; ?>"> |
| 23 |
<?php echo $field['content']; ?> |
| 24 |
</p> |
| 25 |
|