Skip to main content

Filter: gk/gravityview/edit-entry/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​

NameTypeDescription
$can_editboolWhether the account may be changed. Default: whether the person saving the entry can edit the user in WordPress.
$user_idintThe user the feed would change.
$entryarrayGravity Forms entry being edited.
$configarrayGravity Forms User Registration feed configuration for the form.

Since​

  • 3.11.0

Source​

Defined in src/Extension/EditEntry/EditEntryUserRegistration.php at line 401