WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Function Reference/get screen icon"

m (options by itself doesn't work)
 
Line 1: Line 1:
  +
{{Deprecated}}
  +
 
== Description ==
 
== Description ==
   

Latest revision as of 22:33, 9 December 2013


This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use any of these functions instead.

Description

Returns HTML tag with icon-32 background class for a screen.

Parameters

$screen
(string) (optional) Screen name
Default: empty string
Some valid values: dashboard, posts, media, links, pages, comments, themes, plugins, users, management, options-general

Source File

get_screen_icon() is located in wp-admin/includes/screen.php