这些是我用来使用“menu\\u position”参数在“Master Artister Lookup”上方显示“Artists”的参数。但是,仍不能正确显示在菜单中
$args = [
\'label\' => __(\'Artists\', SMF_CORE_NAME),
\'labels\' => [
\'name\' => __(\'Artists\', SMF_CORE_NAME),
\'singular_name\' => __(\'Artist\'),
\'add_new_item\' => __(\'Add New Artist\', SMF_CORE_NAME),
\'add_new\' => __(\'Add New Artist\', SMF_CORE_NAME),
\'new_item\' => __(\'Add New Artist\', SMF_CORE_NAME),
\'all_items\' => __(\'All Artists\', SMF_CORE_NAME),
\'edit_item\' => __(\'Edit Artist\', SMF_CORE_NAME)
],
\'supports\' => [\'title\', \'thumbnail\'],
\'hierarchical\' => false,
\'public\' => true,
\'menu_icon\' => \'dashicons-format-audio\',
\'can_export\' => true,
\'has_archive\' => false,
\'publicly_queryable\' => false,
\'menu_position\' => \'20.1\',
];
$args = [
\'label\' => __(\'Master Artist Lookup\', SMF_CORE_NAME),
\'labels\' => [
\'name\' => __(\'Master Artist Lookup\', SMF_CORE_NAME),
\'singular_name\' => __(\'Master Artist Lookup\'),
\'add_new_item\' => __(\'Add New Artist\', SMF_CORE_NAME),
\'add_new\' => __(\'Add New Artist\', SMF_CORE_NAME),
\'new_item\' => __(\'Add New Artist\', SMF_CORE_NAME),
\'all_items\' => __(\'All Artists\', SMF_CORE_NAME),
\'edit_item\' => __(\'Edit Artist\', SMF_CORE_NAME)
],
\'supports\' => [\'title\', \'thumbnail\'],
\'hierarchical\' => false,
\'public\' => true,
\'menu_icon\' => \'dashicons-format-audio\',
\'can_export\' => true,
\'has_archive\' => false,
\'publicly_queryable\' => false,
\'menu_position\' => \'20.2\',
];