Docs: Correct @return
value description for get_term_link()
.
Props garrett-eclipse. Fixes #47806. git-svn-id: https://develop.svn.wordpress.org/trunk@45702 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c83f0b0d22
commit
288681a0b1
@ -4166,7 +4166,7 @@ function wp_term_is_shared( $term_id ) {
|
||||
*
|
||||
* @param object|int|string $term The term object, ID, or slug whose link will be retrieved.
|
||||
* @param string $taxonomy Optional. Taxonomy. Default empty.
|
||||
* @return string|WP_Error HTML link to taxonomy term archive on success, WP_Error if term does not exist.
|
||||
* @return string|WP_Error URL of the taxonomy term archive on success, WP_Error if term does not exist.
|
||||
*/
|
||||
function get_term_link( $term, $taxonomy = '' ) {
|
||||
global $wp_rewrite;
|
||||
|
Loading…
Reference in New Issue
Block a user