How to return array in renderhook
I have renderhook I register like below in panel, and it's working
But it look kind of repeat, I can see that
->renderHook
accept array, but I cannot make it working. How can I convert all my renderhook inside one ->renderHook()
Note: Now I only post 3, but in actual I have around 7 of themSolution:Jump to solution
the hook name is always string, the array is for scopes
so if these hooks for different areas you need to repeat it...
2 Replies