Prevent updating WordPress users data

[MAILPOET-6168]
This commit is contained in:
Pavel Dohnal
2024-07-25 14:29:36 +02:00
committed by Jan Lysý
parent 2a10a5817b
commit 7be9ade5f4
3 changed files with 24 additions and 2 deletions

View File

@ -9,6 +9,8 @@ The argument `$subscriber` is similar to [Add Subscriber](AddSubscriber.md) meth
It returns the updated subscriber. See [Get Subscriber](GetSubscriber.md) for a subscriber data structure.
If the subscriber is a WordPress user, the method does not allow updating `email`, `first_name` and `last_name`. It needs to be updated in the `wp_users` and MailPoet will synchronise the new values.
## Arguments
| Argument | Type | Description |