mirror of
git://develop.git.wordpress.org/
synced 2025-02-13 03:04:42 +01:00
Docs: Correct description for the taxonomy
parameter of wp_dropdown_categories()
.
Follow-up to [40903], [41767]. Props grapplerulrich, mukesh27, TimothyBlynJacobs. See #51378. git-svn-id: https://develop.svn.wordpress.org/trunk@49059 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c729e4d732
commit
742754d5a1
@ -325,7 +325,7 @@ function category_description( $category = 0 ) {
|
||||
* of the option elements. Accepts any valid term field: 'term_id', 'name',
|
||||
* 'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description',
|
||||
* 'parent', 'count'. Default 'term_id'.
|
||||
* @type string|array $taxonomy Name of the category or categories to retrieve. Default 'category'.
|
||||
* @type string|array $taxonomy Name of the taxonomy or taxonomies to retrieve. Default 'category'.
|
||||
* @type bool $hide_if_empty True to skip generating markup if no categories are found.
|
||||
* Default false (create select element even if no categories are found).
|
||||
* @type bool $required Whether the `<select>` element should have the HTML5 'required' attribute.
|
||||
|
Loading…
x
Reference in New Issue
Block a user