diff --git wp-admin/includes/template-functions.php wp-admin/includes/template-functions.php
index e3abbf9..df1d1d3 100644
|
|
function touch_time( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 ) { |
740 | 740 | */ |
741 | 741 | function page_template_dropdown( $default = '' ) { |
742 | 742 | $templates = get_page_templates( get_post() ); |
| 743 | /** |
| 744 | * Filters the page templates displayed in dropdown. |
| 745 | * |
| 746 | * @since 4.4.0 |
| 747 | * |
| 748 | * @param array $templates The templates to be displayed. |
| 749 | * @param string $default The default template file name. |
| 750 | */ |
| 751 | $templates = apply_filters( 'page_template_dropdown_items', $templates, $default ); |
743 | 752 | ksort( $templates ); |
744 | 753 | foreach ( array_keys( $templates ) as $template ) { |
745 | 754 | $selected = selected( $default, $templates[ $template ], false ); |