Be more specific in documentation of 'slug' param for `get_terms()`.
Props jfarthing84. Fixes #23636. git-svn-id: https://develop.svn.wordpress.org/trunk@30086 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
114c1f32ba
commit
e36f06a87f
|
@ -1596,7 +1596,7 @@ function get_term_to_edit( $id, $taxonomy ) {
|
||||||
* @type string $fields Term fields to query for. Accepts 'all' (returns an array of
|
* @type string $fields Term fields to query for. Accepts 'all' (returns an array of
|
||||||
* term objects), 'ids' or 'names' (returns an array of integers
|
* term objects), 'ids' or 'names' (returns an array of integers
|
||||||
* or strings, respectively. Default 'all'.
|
* or strings, respectively. Default 'all'.
|
||||||
* @type string|array $slug Optional. Slug(s) to return term(s) for. Default empty.
|
* @type string|array $slug Optional. Slug or array of slugs to return term(s) for. Default empty.
|
||||||
* @type bool $hierarchical Whether to include terms that have non-empty descendants (even
|
* @type bool $hierarchical Whether to include terms that have non-empty descendants (even
|
||||||
* if $hide_empty is set to true). Default true.
|
* if $hide_empty is set to true). Default true.
|
||||||
* @type string $search Search criteria to match terms. Will be SQL-formatted with
|
* @type string $search Search criteria to match terms. Will be SQL-formatted with
|
||||||
|
|
Loading…
Reference in New Issue