Displays the Switch Sorting select options
| Since | |
|---|---|
2.0 |
|
3.3 |
Revised. |
3.4.44 |
Unique ID for sort dropdown per instance. |
3.4.44 |
Get shortcode attributes as parameter. |
3.5 |
Added accessibility labels to select elements. |
3.5.7 |
Instance ID default to 1 to enable sorting. The $attributes option is required. |
3.5.14 |
Corrected escaping function to esc_html. |
| Parameters | |||
|---|---|---|---|
array
|
$attributes = [] |
Attributes. |
# |