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

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.

Top ↑

See also

Top ↑


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

Top ↑


File: wp-includes/bookmark.php. View all references

return apply_filters( 'get_bookmarks', $bookmarks, $parsed_args );

Top ↑


Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.