apply_filters( 'get_bookmarks', array $bookmarks, array $r )

Filters the returned list of bookmarks.


Description

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.

See also


Parameters

$bookmarks

List of the cached bookmarks.

$r

An array of bookmark query arguments.


Source

File: wp-includes/bookmark.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.1.0 Introduced.