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:
Boone Gorges 2016-10-04 02:28:48 +00:00
parent 3b6202a4d2
commit 5a6cfb0bb7
1 changed files with 1 additions and 1 deletions

View File

@ -1397,7 +1397,7 @@ function update_termmeta_cache( $term_ids ) {
*
* @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 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