Retrieves link data based on its ID.
$linkint|stdClassrequired
function get_link_to_edit( $link ) {
return get_bookmark( $link, OBJECT, 'edit' );
}
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_link_to_edit