| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * Donor model. |
| 4 | 4 | * |
| 5 | 5 | * @package Charitable/Classes/Charitable_Donor |
| 6 | 6 | * @author David Bisset |
| 7 | - * @copyright Copyright (c) 2022, WP Charitable LLC | |
| 7 | + * @copyright Copyright (c) 2023, WP Charitable LLC | |
| 8 | 8 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 9 | 9 | * @since 1.0.0 |
| 10 | 10 | * @version 1.6.54 |
| 11 | 11 | */ |
| @@ -86,8 +86,17 @@ | ||
| 86 | 86 | */ |
| 87 | 87 | protected $last_donation; |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | + * Whether the donor is anonymous. | |
| 91 | + * | |
| 92 | + * @since 1.8.3.1 | |
| 93 | + * | |
| 94 | + * @var boolean | |
| 95 | + */ | |
| 96 | + public $is_anonymous; | |
| 97 | + | |
| 98 | + /** | |
| 90 | 99 | * Donor meta. |
| 91 | 100 | * |
| 92 | 101 | * @since 1.4.0 |
| 93 | 102 | * |
| @@ -406,8 +415,9 @@ | ||
| 406 | 415 | * as a square image, so this is used for both height and width. |
| 407 | 416 | * @return string |
| 408 | 417 | */ |
| 409 | 418 | public function get_avatar( $size = 100 ) { |
| 419 | + | |
| 410 | 420 | /** |
| 411 | 421 | * Filter the donor avatar. |
| 412 | 422 | * |
| 413 | 423 | * @since 1.2.0 |