apply_filters( 'amp_post_template_file', string $file, string $template_type, WP_Post $post )
Description #
Filters the template file being loaded for a given template type.
Parameters #
- $file
-
(string) Template file.
- $template_type
-
(string) Template type.
- $post
-
(WP_Post) Post.