W3cubDocs

/WordPress

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

File: wp-admin/includes/meta-boxes.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/page_attributes_meta_box_template