I'm working on a plugin that takes input from a form, then populates a table in a Wordpress database and then creates a page in WP to display that data.
I've got everything working except I can't find out where WP stores the info for page templates.
In this case, the page created in WP needs to use a particular page template but I can't find any mention of it anywhere in the DB. If I got to the page that's been created in the admin area, I can manually set the page template.
Can someone point me in the right direction?
I've got everything working except I can't find out where WP stores the info for page templates.
In this case, the page created in WP needs to use a particular page template but I can't find any mention of it anywhere in the DB. If I got to the page that's been created in the admin area, I can manually set the page template.
Can someone point me in the right direction?