| @@ -1,9 +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 | - * @author Studio 164a | |
| 11 | + * Override this template by copying it to yourtheme/charitable/form-fields/content.php | |
| 12 | + * | |
| 13 | + * @author WP Charitable LLC | |
| 6 | 14 | * @package Charitable/Templates/Form Fields |
| 7 | 15 | * @since 1.4.14 |
| 8 | 16 | * @version 1.4.14 |
| 9 | 17 | */ |
| @@ -11,5 +19,5 @@ | ||
| 11 | 19 | if ( ! array_key_exists( 'content', $view_args['field'] ) ) { |
| 12 | 20 | return; |
| 13 | 21 | } |
| 14 | 22 | |
| 15 | -echo $view_args['field']['content']; | |
| 23 | +echo $view_args['field']['content']; // phpcs:ignore | |