Hi there!
I am trying to write a page.update
hook that monitors if a certain field is updated by any user in the panel. This would be trivial, but the issue is that this field can also be changed via a page->update()
method call in a page.changeNum
hook (which then in turn of course also triggers the page.update
hook).
In my page.update
hook I would like to somehow find out if the field was changed “automatically” by the other hook, or if the field was changed manually by a user in the panel. Is there any way to do that?
Thanks!