wpseek.com
A WordPress-centric search engine for devs and theme authors



_add_themes_utility_last › WordPress Function

Since3.0.0
Deprecatedn/a
_add_themes_utility_last ( No parameters )
Access:
  • private
Defined at:
Codex:
Change Log:
  • 5.9.0

Adds the 'Theme Editor' link to the bottom of the Appearance or Tools menu.



Source

function _add_themes_utility_last() {
	add_submenu_page(
		wp_is_block_template_theme() ? 'tools.php' : 'themes.php',
		__( 'Theme Editor' ),
		__( 'Theme Editor' ),
		'edit_themes',
		'theme-editor.php'
	);
}