F
Filament3mo ago
Abi

Is it possible to specify the scope of render hooks to a Panel?

I have 2 filament panels in my app and I want to set the render hook only to a specific panel. How can I do this?
Solution:
Just add it to the panel you need it on.
$panel->renderHook()
$panel->renderHook()
...
Jump to solution
2 Replies
Solution
awcodes
awcodes3mo ago
Just add it to the panel you need it on.
$panel->renderHook()
$panel->renderHook()
Abi
Abi3mo ago
ah ok, couldn't find this in the docs, thank you