F
Filament11mo 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
awcodes11mo ago
Just add it to the panel you need it on.
$panel->renderHook()
$panel->renderHook()
Abi
AbiOP11mo ago
ah ok, couldn't find this in the docs, thank you

Did you find this page helpful?