WordPress at Your Fingertips
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.


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

	return $bookmarks;
List of the cached bookmarks.
An array of bookmark query arguments.


Since 2.1.0 Introduced.

Where the hook is called

wp-includes/bookmark.php 174
return apply_filters( 'get_bookmarks', $bookmarks, $parsed_args );
wp-includes/bookmark.php 228
return apply_filters( 'get_bookmarks', array(), $parsed_args );
wp-includes/bookmark.php 321
return apply_filters( 'get_bookmarks', $results, $parsed_args );

Where in WP core the hook is used WordPress

Usage not found.