Skip to content

Commit

Permalink
Add note about saving in batch edit custom hook.
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Jan 9, 2020
1 parent 1ab0991 commit 57db554
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/Reference/hooks/items_batch_edit_custom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Handles custom content added to the batch edit form by plugins using the

The hook fires once for each item being edited.

Note: changes made in this hook are not automaticaly saved, so you must call
``save()`` on the item yourself, or use a function like :php:func:`update_item`
that also saves.

*********
Arguments
*********
Expand Down

0 comments on commit 57db554

Please sign in to comment.