| 3 | | Very interesting. I wonder what if any potential downsides there might be in placing such a general hook this high up in the stack. |
| 4 | | |
| 5 | | I'd almost be tempted use a dynamic hook with a whitelist based on the `nav_menus` and `widgets` properties to sort of lock it down to this specific context. |
| 6 | | |
| 7 | | The whitelist could be expanded in the future without opening the door wide to the scenario that any general-purpose hook brings: having to support any number of unexpected use-cases down the road. |
| | 3 | > Very interesting. I wonder what if any potential downsides there might be in placing such a general hook this high up in the stack. |
| | 4 | > |
| | 5 | > I'd almost be tempted use a dynamic hook with a whitelist based on the `nav_menus` and `widgets` properties to sort of lock it down to this specific context. |
| | 6 | > |
| | 7 | > The whitelist could be expanded in the future without opening the door wide to the scenario that any general-purpose hook brings: having to support any number of unexpected use-cases down the road. |