| @@ -1,11 +1,17 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 3 | +// Exit if accessed directly. | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | + | |
| 2 | 8 | /** |
| 3 | 9 | * The template used to display the suggested amounts field. |
| 4 | 10 | * |
| 5 | 11 | * Override this template by copying it to yourtheme/charitable/form-fields/content.php |
| 6 | 12 | * |
| 7 | - * @author Studio 164a | |
| 13 | + * @author WP Charitable LLC | |
| 8 | 14 | * @package Charitable/Templates/Form Fields |
| 9 | 15 | * @since 1.4.14 |
| 10 | 16 | * @version 1.4.14 |
| 11 | 17 | */ |
| @@ -13,5 +19,5 @@ | ||
| 13 | 19 | if ( ! array_key_exists( 'content', $view_args['field'] ) ) { |
| 14 | 20 | return; |
| 15 | 21 | } |
| 16 | 22 | |
| 17 | -echo $view_args['field']['content']; | |
| 23 | +echo $view_args['field']['content']; // phpcs:ignore | |