Glossary Term
selected()
3 tags
1 category
selected() — Outputs the HTML selected attribute. Compares the first two arguments and if identical marks as selected.
Inputs: $selected (mixed): One of the values to compare. $current (mixed): Optional. The other value to compare if not just true. Default true. $display (bool): Optional. Whether to echo or just return the string. Default true.
Returns string: HTML attribute or empty string.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
