Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_page_templates [ WordPress Function ]

get_page_templates ( No parameters )
Returns:
  • (array) Key is the template name, value is the filename of the template
Defined at:



Get the Page Templates available in this theme

Source


<?php
function get_page_templates() {
    return 
array_flipwp_get_theme()->get_page_templates() );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics