Docs: Clarify default value for the $link
parameter in edit_tag_link()
, edit_term_link()
, and edit_bookmark_link()
.
Props atachibana. Fixes #48109. git-svn-id: https://develop.svn.wordpress.org/trunk@46383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5e0904cf67
commit
17765e9e76
@ -958,7 +958,7 @@ function get_edit_tag_link( $tag_id, $taxonomy = 'post_tag' ) {
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string $link Optional. Anchor text. Default empty.
|
||||
* @param string $link Optional. Anchor text. If empty, default is 'Edit This'. Default empty.
|
||||
* @param string $before Optional. Display before edit link. Default empty.
|
||||
* @param string $after Optional. Display after edit link. Default empty.
|
||||
* @param WP_Term $tag Optional. Term object. If null, the queried object will be inspected.
|
||||
@ -1037,7 +1037,7 @@ function get_edit_term_link( $term_id, $taxonomy = '', $object_type = '' ) {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param string $link Optional. Anchor text. Default empty.
|
||||
* @param string $link Optional. Anchor text. If empty, default is 'Edit This'. Default empty.
|
||||
* @param string $before Optional. Display before edit link. Default empty.
|
||||
* @param string $after Optional. Display after edit link. Default empty.
|
||||
* @param object $term Optional. Term object. If null, the queried object will be inspected. Default null.
|
||||
@ -1577,7 +1577,7 @@ function get_edit_bookmark_link( $link = 0 ) {
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string $link Optional. Anchor text. Default empty.
|
||||
* @param string $link Optional. Anchor text. If empty, default is 'Edit This'. Default empty.
|
||||
* @param string $before Optional. Display before edit link. Default empty.
|
||||
* @param string $after Optional. Display after edit link. Default empty.
|
||||
* @param int $bookmark Optional. Bookmark ID. Default is the current bookmark.
|
||||
|
Loading…
x
Reference in New Issue
Block a user