Filter hook 'get_bookmarks'
in WP Core File wp-includes/bookmark.php at line 175
Description
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.
Occurrences
Filename |
Line Number |
wp-includes/bookmark.php |
175 |
wp-includes/bookmark.php |
229 |
wp-includes/bookmark.php |
322 |
Parameters
Type |
Name |
Description |
array |
$bookmarks |
List of the cached bookmarks. |
array |
$parsed_args |
An array of bookmark query arguments. |
PHP Doc
/**
* 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.
*
* @since 2.1.0
*
* @see get_bookmarks()
*
* @param array $bookmarks List of the cached bookmarks.
* @param array $parsed_args An array of bookmark query arguments.
*/