Uses
Uses | Description |
---|---|
wp-admin/includes/plugin.php: add_submenu_page() | Add a submenu page. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Adds the (theme) ‘Editor’ link to the bottom of the Appearance menu.
File: wp-admin/menu.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', __( 'Theme Editor' ), __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' ); }
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_add_themes_utility_last