
如何修复MAMP“建立数据库连接时出错”
do_action( 'page_attributes_meta_box_template', $template, $post )
page_attributes_meta_box_template。这个动作钩子允许开发者在编辑页面的”页面属性”元框中添加额外内容。
在‘页面属性’元框的‘模板’部分的标签之后立即触发。
do_action( 'page_attributes_meta_box_template', $template, $post );