wpseek.com
WordPress开发者和主题制作者的搜索引擎



page_attributes_meta_box_template › WordPress动作钩子

Since4.4.0
已弃用n/a
do_action( 'page_attributes_meta_box_template', $template, $post )
参数: (2)
  • (string|false) $template The template used for the current post.
    Required: Yes
  • (WP_Post) $post The current post.
    Required: Yes
定义在:
文档:

Fires immediately after the label inside the 'Template' section of the 'Page Attributes' meta box.





源码

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