Skip to main content

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​

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.
$entryarrayThe saved entry.
$configarrayUser Registration feed.

Since​

  • 2.13.3

Source​

Defined in includes/class-gravityview-inline-edit-user-registration.php at line 140