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:
Drew Jaynes 2016-05-02 23:39:12 +00:00
parent 018f988654
commit a76767e2ed
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {