_add_themes_utility_last() WP 3.0.0
Adds the (theme) 'Editor' link to the bottom of the Appearance menu.
Эта функция считается внутренней для использования самим ядром. Не рекомендуется использовать эту функцию в своем коде.
Хуков нет.
Возвращает
Null. Ничего.
Использование
_add_themes_utility_last();
Список изменений
С версии 3.0.0 | Введена. |
Код _add_themes_utility_last() add themes utility last WP 5.6.2
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', __( 'Theme Editor' ), __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' );
}