I would like to show a widget (implemented inside a plugin) on a custom page (implemented inside another plugin).
I do not want to select the option : "Show widget in this position on all available pages"
I would not like to modify the "custom page" code to force it displaying the widget.
I'd like to have the custom page displayed inside the Admin-->Layout--->Available widgets ---> My widget ---> add widget ---> "Show widget in this position on the following pages" list
The custom page should appear on this list of pages (for my widget but also for other widgets).
If I'm not wrong the clean solution would be that of extending the templatelangkeys array containing the "templates", to add my custom page.
But I've read here an "old" Gideon's answer to another user, saying that "there is currently no easy way to do this".
Isn't there a way to add a custom page to that list ?