So I'm PRETTY sure this is not recommended or is in someway disallowed.
I would like to make an observer that will effectively notify a webhook whenever a new order is created. I know that I would need to use the NOTIFY_ORDER_DURING_CREATE_ADDED_ORDER_HEADER hook from the notifier system. I would like to create a hyperlink that will point to the new order in the admin backend. But that would require access to DIR_WS_ADMIN which I think is not possible.
Rather than hardcoding the directory into the notifier class, any advice on how to proceed?
Bookmarks