do_action( ‘page_attributes_meta_box_template’, string|false $template, WP_Post $post )

In this article

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

do_action( 'page_attributes_meta_box_template', $template, $post );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.