Skip to main content

Filter: gravityview-inline-edit/user-can-edit-entry

Modify whether the current user can edit an entry

Parameters

NameTypeDescription
$can_edit_entryboolTrue: User can edit the entry at $entry_id; False; they just can't
$entry_idintEntry ID to check
$form_idintForm connected to $entry_id
$view_idint|nullID of the View being edited, if exists. Otherwise, NULL.

Since

  • 1.0
  • 1.2: Added $view_id parameter

Source

Defined in class-gravityview-inline-edit.php at line 323