You appear to be a bot. Output may be restricted
Description
Retrieves bookmark data based on ID.
Usage
$object|array = get_link( $bookmark_id, $output, $filter );
Parameters
- $bookmark_id
- ( int ) required – ID of link
- $output
- ( string ) optional default: OBJECT – Optional. Type of output. Accepts OBJECT, ARRAY_N, or ARRAY_A. Default OBJECT.
- $filter
- ( string ) optional default: raw – Optional. How to filter the link for output. Accepts 'raw', 'edit', 'attribute', 'js', 'db', or 'display'. Default 'raw'.
Returns
object|array Bookmark object or array, depending on the type specified by `$output`.
Source
File name: wordpress/wp-includes/deprecated.php
Lines:
1 to 4 of 4
function get_link( $bookmark_id, $output = OBJECT, $filter = 'raw' ) { _deprecated_function( get_link, '2.1.0', 'get_bookmark()' ); return get_bookmark($bookmark_id, $output, $filter); }