Filter: gk/gravityedit/user-registration/can-edit-user
Modify whether the person saving the entry may change the account of the entry's user.
Editing an entry is not permission to change its user's account, such as the email address. This filter can let roles that edit entries, but cannot edit users in WordPress, keep the account up to date.
Parameters
| Name | Type | Description |
|---|---|---|
| $can_edit | bool | Whether the account may be changed. Default: whether the person saving the entry can edit the user in WordPress. |
| $user_id | int | The user the feed would change. |
| $entry | array | The saved entry. |
| $config | array | User Registration feed. |
Since
- 2.13.3
Source
Defined in includes/class-gravityview-inline-edit-user-registration.php at line 140