Docs: Improve description for `term_exists()` `$term` param.
Props Kenshino. Fixes #37224. git-svn-id: https://develop.svn.wordpress.org/trunk@38716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3b6202a4d2
commit
5a6cfb0bb7
|
@ -1397,7 +1397,7 @@ function update_termmeta_cache( $term_ids ) {
|
||||||
*
|
*
|
||||||
* @global wpdb $wpdb WordPress database abstraction object.
|
* @global wpdb $wpdb WordPress database abstraction object.
|
||||||
*
|
*
|
||||||
* @param int|string $term The term to check
|
* @param int|string $term The term to check. Accepts term ID, slug, or name.
|
||||||
* @param string $taxonomy The taxonomy name to use
|
* @param string $taxonomy The taxonomy name to use
|
||||||
* @param int $parent Optional. ID of parent term under which to confine the exists search.
|
* @param int $parent Optional. ID of parent term under which to confine the exists search.
|
||||||
* @return mixed Returns null if the term does not exist. Returns the term ID
|
* @return mixed Returns null if the term does not exist. Returns the term ID
|
||||||
|
|
Loading…
Reference in New Issue