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
-
$template
string|false -
The template used for the current post.
-
$post
WP_Post -
The current post.
Source
File: wp-admin/includes/meta-boxes.php
.
View all references
do_action( 'page_attributes_meta_box_template', $template, $post );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |