Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#40524 new enhancement

Filter hook for max image columns in gallery settings

Reported by: janneleppanen's profile 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 7 years ago.
40524.2.patch (1.2 KB) - added by sebastian.pisula 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @JanneLeppanen
7 years ago

  • Keywords has-patch added

#2 @sebastian.pisula
7 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.