Docs: Correct @param
type for $term_id
in get_term_children()
.
Props Soean, wido. Fixes #41585. git-svn-id: https://develop.svn.wordpress.org/trunk@41235 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0e0e31d515
commit
4a8779feb9
@ -921,7 +921,7 @@ function get_term_by( $field, $value, $taxonomy = '', $output = OBJECT, $filter
|
||||
*
|
||||
* @since 2.3.0
|
||||
*
|
||||
* @param string $term_id ID of Term to get children.
|
||||
* @param int $term_id ID of Term to get children.
|
||||
* @param string $taxonomy Taxonomy Name.
|
||||
* @return array|WP_Error List of Term IDs. WP_Error returned if `$taxonomy` does not exist.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user