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.
169*170* @see get_bookmarks()171*172* @param array$bookmarksList of the cached bookmarks.173* @param array$parsed_args An array of bookmark query arguments.174*/175returnapply_filters('get_bookmarks',$bookmarks,$parsed_args);176}177}178179if(!is_array($cache)){180$cache=array();181}
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.