2020-05-01 / 3106阅 / 悠然
Gets the page templates available in this theme.
(WP_Post|null)
(Optional)
The post being edited, provided for context.
Default value: null
(string)
(Optional)
Post type to get the templates for.
Default value: 'page'
(string[]) Array of template file names keyed by the template header name.