theme_templates, $post_templates, $this, $post, $post_type
theme_templates, $post_templates, $this, $post, $post_type
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('theme_templates, $post_templates, $this, $post, $post_type') is found 1 times:
- /wp-includes/class-wp-theme.php line 1420
* @param WP_Theme $theme The theme object. * @param WP_Post|null $post The post being edited, provided for context, or null. * @param string $post_type Post type to get the templates for. */ $post_templates = (array) apply_filters( 'theme_templates', $post_templates, $this, $post, $post_type ); /** * Filters list of page templates for a theme. * * The dynamic portion of the hook name, `$post_type`, refers to the post type. *