Hooks/after save record

after_save_record

arguments: $record Omeka_Record

Fires after any database record is saved. This includes both insert and update operations.

Since this hook fires after the record is saved, the record ID will be available, but changes made to any other record properties will not be saved.