WordPress at a glance
filter is not described

get_bookmarks filter-hook . WP 2.1.0

Filters the returned list of bookmarks.

The first time the hook is evaluated in this file, it returns the cached bookmarks list. The second evaluation returns a cached bookmarks list if the link category is passed but does not exist. The third evaluation returns the full cached results.

Usage

add_filter( 'get_bookmarks', 'filter_function_name_6998', 10, 2 );
function filter_function_name_6998( $bookmarks, $r ){
	// filter...

	return $bookmarks;
}
$bookmarks(array)
List of the cached bookmarks.
$r(array)
An array of bookmark query arguments.

Changelog

Since 2.1.0 Introduced.

Where the hook is called

get_bookmarks()
get_bookmarks
wp-includes/bookmark.php 161
return apply_filters( 'get_bookmarks', $bookmarks, $r );
wp-includes/bookmark.php 213
return apply_filters( 'get_bookmarks', array(), $r );
wp-includes/bookmark.php 306
return apply_filters( 'get_bookmarks', $results, $r );

Where the hook is used (in WP core)

Usage not found!