How can I create a widget with its own images to use in any project? I created an "images" folder inside the widget project and now I want to get the path without changing it on every project.
The structure is: ../widgets/WidgetFolderName/images/foo.png
I tried WPATH('images/foo.png')
but didn't work.