How to scope render hook to one Panel only?
Hey!
I register my render hook in AppPanelProvider like so:
But I can not figure out how and what scope to use. I have separate panel for logged in user and for guest. Whats the easiest way to achieve it?
AppPanelProvider - guest users
UserPanelProvider - logged in users
Thanks!
I register my render hook in AppPanelProvider like so:
But I can not figure out how and what scope to use. I have separate panel for logged in user and for guest. Whats the easiest way to achieve it?
AppPanelProvider - guest users
UserPanelProvider - logged in users
Thanks!
Solution
There is nothing more satisfying then responding to own question with solution found in documentation 
https://filamentphp.com/docs/3.x/panels/configuration#render-hooks
Thanks!
https://filamentphp.com/docs/3.x/panels/configuration#render-hooks
Thanks!