将(主题)“编辑器”链接添加到“外观”菜单的底部。

原型

_add_themes_utility_last()

源文件

路径:wp-admin/menu.php

<?php
...
function _add_themes_utility_last() {
	// Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook
	add_submenu_page('themes.php', _x('Editor', 'theme editor'), _x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php');
}
...
?>

其他

英文文档:https://developer.wordpress.org/reference/functions/_add_themes_utility_last/