_walk_bookmarks


_walk_bookmarks ( $bookmarks, $args = '' )

Access:
  • private
Parameters:
  • (array) $bookmarks List of bookmarks to traverse.
  • (string|array) $args { Optional. Bookmarks arguments.
Returns:
  • (string) Formatted output in HTML
Defined at:

Description

The formatted output of a list of bookmarks.

The $bookmarks array must contain bookmark objects and will be iterated over to retrieve the bookmark to be used in the output.

The output is formatted as HTML with no way to change that format. However, what is between, before, and after can be changed. The link itself will be HTML.

This function is used internally by wp_list_bookmarks() and should not be used by themes.

Related Functions

wp_list_bookmarks, get_bookmarks, get_bookmark, sanitize_bookmark, clean_bookmark_cache

Top Google Results

User discussions

wpseek mobile