Retrieves bookmark data based on ID.
$bookmark_idintrequired
$outputstringoptional
Default:OBJECT
$filterstringoptional
'raw', 'edit', 'attribute', 'js', 'db', or 'display'. Default 'raw'.Default:'raw'
$output.function get_link( $bookmark_id, $output = OBJECT, $filter = 'raw' ) {
_deprecated_function( __FUNCTION__, '2.1.0', 'get_bookmark()' );
return get_bookmark($bookmark_id, $output, $filter);
}
| Version | Description |
|---|---|
| 2.1.0 | Use get_bookmark() |
| 2.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_link