Ok, you know when you're editing a page in Wordpress? You can change the page template under Page Attributes. How can I call a list of the current theme's page templates? I need that to use in my plugin.
+1
A:
get_page_templates
returns an array of the page templates available for the current theme.
Richard M
2010-10-02 18:31:17
Thanks, that works.
lucha libre
2010-10-03 20:38:03