Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#40524 new enhancement

Filter hook for max image columns in gallery settings

Reported by: JanneLeppanen Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Gallery Keywords: has-patch
Focuses: Cc:


It would be nice to have a filter for modifying maximum count of gallery columns.

Or would this be a bad hook, because most of themes would not support more 9 (default maximum) columns out of the box?

Attachments (2)

40524.patch (608 bytes) - added by JanneLeppanen 4 years ago.
40524.2.patch (1.2 KB) - added by sebastian.pisula 4 years ago.

Download all attachments as: .zip

Change History (4)

4 years ago

#1 @JanneLeppanen
4 years ago

  • Keywords has-patch added

#2 @sebastian.pisula
4 years ago

I suggest add better filter because I want show of my client custom defined columns size. My patch.

Note: See TracTickets for help on using tickets.