| @@ -112,8 +112,21 @@ | ||
| 112 | 112 | return $this->options['id']; |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | + * Retrieve the user to show the notification for. | |
| 117 | + * | |
| 118 | + * @deprecated 21.6 | |
| 119 | + * @codeCoverageIgnore | |
| 120 | + * | |
| 121 | + * @return WP_User|null The user to show this notification for. | |
| 122 | + */ | |
| 123 | + public function get_user() { | |
| 124 | + _deprecated_function( __METHOD__, 'Yoast SEO 21.6' ); | |
| 125 | + return null; | |
| 126 | + } | |
| 127 | + | |
| 128 | + /** | |
| 116 | 129 | * Retrieve the id of the user to show the notification for. |
| 117 | 130 | * |
| 118 | 131 | * Returns the id of the current user if not user has been sent. |
| 119 | 132 | * |