📜  在 wordpress 中添加顶部菜单栏 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:40.200000             🧑  作者: Mango

代码示例1
function register_my_menu() {
register_nav_menu('additional-menu',__( 'Additional Menu' ));
}
add_action( 'init', 'register_my_menu' );