/** * Get all errors in a human readable format * * @since 3.2 * @return string */ function wpas_get_display_errors() { return wpas_get_display_notifications('errors', 'failure'); }
/** * Display all notification messages * * @since 3.2 * @return string Readable notifications */ function wpas_display_notifications() { echo wpas_get_display_notifications(); wpas_clean_notifications(); }