selected Wordpress function


Description:

Outputs the html selected attribute.


Syntax:


Arguments:

(mixed) $selected One of the values to compare
(mixed) $current (true) The other value to compare if not just true
(bool) $echo Whether to echo or just return the string


Return Type:

(string) html attribute or empty string


Define At:

wp-includes/general-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/selected


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×