Links: Clarify documentation for the `$link_id` parameter to mention that it accepts either an integer or object.
Props tloureiro. See #36736. git-svn-id: https://develop.svn.wordpress.org/trunk@37351 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
018f988654
commit
a76767e2ed
|
@ -131,7 +131,7 @@ function wp_get_link_cats( $link_id = 0 ) {
|
|||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param int $link_id ID of link to retrieve.
|
||||
* @param int|stdClass $link_id Link ID or object to retrieve.
|
||||
* @return object Link object for editing.
|
||||
*/
|
||||
function get_link_to_edit( $link_id ) {
|
||||
|
|
Loading…
Reference in New Issue