Changeset 46662 for trunk/src/wp-admin/includes/theme.php
- Timestamp:
- 11/05/2019 09:28:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r46232 r46662 113 113 114 114 /** 115 * Get the Page Templates available in this theme115 * Gets the page templates available in this theme. 116 116 * 117 117 * @since 1.5.0 … … 120 120 * @param WP_Post|null $post Optional. The post being edited, provided for context. 121 121 * @param string $post_type Optional. Post type to get the templates for. Default 'page'. 122 * @return array Key is the template name, value is the filename of the template122 * @return string[] Array of template file names keyed by the template header name. 123 123 */ 124 124 function get_page_templates( $post = null, $post_type = 'page' ) {
Note: See TracChangeset
for help on using the changeset viewer.