# Trigger update hook on page()-\>update()?

**URL:** <https://forum.getkirby.com/t/trigger-update-hook-on-page-update/4436>\
**Category:** Questions\
**Tags:** v2\
**Created:** [June 16, 2016, 10:30am UTC](https://forum.getkirby.com/t/trigger-update-hook-on-page-update/4436 "2016-06-16T10:30:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jenstornell](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jenstornell/32/546_2.png) [@jenstornell](https://forum.getkirby.com/u/jenstornell)\
**Post date:** [June 16, 2016, 10:30am UTC](https://forum.getkirby.com/t/trigger-update-hook-on-page-update/4436/1 "2016-06-16T10:30:50Z")

</div>

I use `page()->update()` and the update hook will not fire. I guess that’s because the hooks are ment for the panel.

Is it possible to trigger a hook to run? In this case the update hook?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 16, 2016, 10:41am UTC](https://forum.getkirby.com/t/trigger-update-hook-on-page-update/4436/2 "2016-06-16T10:41:47Z")

</div>

Yes, you can trigger a hook like this:

````auto
kirby()->trigger('panel.page.update', $page);
```
````

---

<div class="post-metadata">

**Author:** ![jenstornell](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jenstornell/32/546_2.png) [@jenstornell](https://forum.getkirby.com/u/jenstornell)\
**Post date:** [June 16, 2016, 1:31pm UTC](https://forum.getkirby.com/t/trigger-update-hook-on-page-update/4436/3 "2016-06-16T13:31:39Z")

</div>

That looks awesome! I’ll try that! 🙂

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:57pm UTC](https://forum.getkirby.com/t/trigger-update-hook-on-page-update/4436/4 "2025-02-06T16:57:49Z")

</div>


