WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#35573 closed enhancement (fixed)

New param for `get_archives_link` filter

Reported by: sebastian.pisula Owned by: boonebgorges
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:

Description

I want modify archive link. Function get_archives_link() use get_archives_link filter only with $link_html. I need url and $text

Attachments (1)

35573.patch (785 bytes) - added by sebastian.pisula 3 years ago.

Download all attachments as: .zip

Change History (5)

#1 @sebastian.pisula
3 years ago

  • Keywords has-patch added

#2 @boonebgorges
3 years ago

  • Milestone changed from Awaiting Review to 4.5

Yes.

#3 @boonebgorges
3 years ago

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

In 36418:

Pass additional params to 'get_archive_links' filter.

Props sebastian.pisula.
Fixes #35573.

#4 @DrewAPicture
3 years ago

In 36939:

Docs: Improve the 4.5.0 changelog entry in the hook doc for the get_archives_link filter, introduced in [36418].

See #35573. See #35986.

Note: See TracTickets for help on using tickets.