I would like to know if it is possible for a plugin to generate a page.
My aim is to hack the plugin nextgen gallery to make it generate a page hierarchy like this:
- All the album
--galleries in the album1
--galleries in the album2
So i would like to create all that pages automatically without using the write panel, but i can't find what function of the api I have to use to create a page, any ideas ??
Thanks for your help