| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | * @return string $message Send notice message for email access. |
| 32 | 32 | */ |
| 33 | 33 | $message = (string) apply_filters( 'give_email_access_mail_send_notice', __( 'Please check your email and click on the link to access your complete donation history.', 'give' ) ); |
| 34 | 34 | |
| 35 | - Give()->notices->print_frontend_notice( | |
| 35 | + Give_Notices::print_frontend_notice( | |
| 36 | 36 | $message, |
| 37 | 37 | true, |
| 38 | 38 | 'success' |
| 39 | 39 | ); |
| @@ -63,9 +63,9 @@ | ||
| 63 | 63 | $value |
| 64 | 64 | ); |
| 65 | 65 | |
| 66 | 66 | // Too many emails sent? |
| 67 | - Give()->notices->print_frontend_notice( | |
| 67 | + Give_Notices::print_frontend_notice( | |
| 68 | 68 | $message, |
| 69 | 69 | true, |
| 70 | 70 | 'error' |
| 71 | 71 | ); |