page_template_dropdown


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

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

Description

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

Related Functions

parent_dropdown, get_template_directory, is_page_template, get_template_part, get_page_template

Top Google Results

User discussions

wpseek mobile