The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
Activate LOG mode where internal actions logs can be activated or deactivated
The idea is that every action can be easily tracked via logs in a way that can be activated/deactivated in Development mode.
This logging will be deactivated by default in production
This can be a great tool for learning and debugging purposes
Thanks for suggesting this Juanma Would this be part of the DevTools we are planning to work on in the future or is it something different?
juanma3
I’m not sure what’s the best way of handling these log messages, if via terminal or via DevTools
Maybe via terminal is a good enough first step.
But by reading the DevTools FD I realized that we should wait for the hooks feature. Once the hooks feature is available, I think we should be able to implement a log for every process that can be hooked.
I think this is the way to go: implement a hook for every action/process that we’d like to log so it’s also available for some other logic implementation.