On this page
do_action( 'page_attributes_meta_box_template', string|false $template, WP_Post $post )
Fires immediately after the label inside the ‘Template’ section of the ‘Page Attributes’ meta box.
Parameters
$templatestring|false-
The template used for the current post.
$postWP_Post-
The current post.
Source
File: wp-admin/includes/meta-boxes.php. View all references
do_action( 'page_attributes_meta_box_template', $template, $post );
Related
Used By
| Used By | Description |
|---|---|
| page_attributes_meta_box() wp-admin/includes/meta-boxes.php | Displays page attributes form fields. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/page_attributes_meta_box_template