Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#21861 closed enhancement (duplicate)

Internal linker needs a filter on arguments for query

Reported by: coenjacobs's profile CoenJacobs Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Administration Keywords: has-patch
Focuses: Cc:


There is currently no way to change the arguments of the query for the internal linker. This limits the modifications you can do on the list of posts that is displayed. I'd like to prevent certain post types (used in background only) from showing up in that list.

Attachments (1)

21861.diff (490 bytes) - added by CoenJacobs 12 years ago.
Basic implementation of a filter for the arguments

Download all attachments as: .zip

Change History (4)

12 years ago

Basic implementation of a filter for the arguments

#1 @CoenJacobs
12 years ago

For example:

In WooCommerce, we would like to filter out the variations post type. These post types have no actual single page, as they are not meant to be shown on the frontend.

#2 @ocean90
12 years ago

  • Keywords dev-feedback removed
  • Milestone Awaiting Review deleted

#3 @ocean90
12 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.