WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7024 closed enhancement (fixed)

Allow filtering of wp_list_bookmarks() arguments in links widget

Reported by: ionfish Owned by:
Milestone: Priority: low
Severity: normal Version: 2.6
Component: Template Keywords: widget has-patch
Focuses: Cc:

Description

Currently there is no way to change the arguments for wp_list_bookmarks() in the links widget without overriding the entire widget, which seems like overkill when you just want to (for example) exclude a category. Attached patch adds a filter to make this kind of change easier.

Attachments (1)

filter_widget_links_argument.diff (598 bytes) - added by ionfish 6 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8171]) widget_links_args filter from ionfish. fixes #7024

Note: See TracTickets for help on using tickets.