do_action( 'page_attributes_meta_box_template', string $template, WP_Post $post )
Fires immediately after the label inside the ‘Template’ section of the ‘Page Attributes’ meta box.
Parameters
- $template
-
(string) The template used for the current post.
- $post
-
(WP_Post) The current post.
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/page_attributes_meta_box_template