page_template_dropdown


page_template_dropdown ( $default_template = '', $post_type = 'page' )

Parameters:
  • (string) default_template Optional. The template file name. Default empty.
  • (string) post_type Optional. Post type to get templates for. Default 'page'.
Defined at:
Change Log:
  • 4: .

Description

Prints out option HTML elements for the page templates drop-down.

Related Functions

parent_dropdown, get_template_directory, is_page_template, get_page_template, get_template_part

Top Google Results

User discussions

wpseek mobile