[wp-trac] [WordPress Trac] #45945: Twenty Nineteen: Consider adding a filter for the featured image color filter functionality.

WordPress Trac noreply at wordpress.org
Fri Jan 11 19:35:36 UTC 2019


#45945: Twenty Nineteen: Consider adding a filter for the featured image color
filter functionality.
---------------------------+-----------------------------
 Reporter:  kjellr         |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  5.0.3
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Originally raised by @hvianna and @grapplerulrich in this GitHub thread:

 https://github.com/WordPress/twentynineteen/issues/722

 To make it easier for child themes to disable the featured image filter
 built into Twenty Nineteen, it might be helpful to add a filter for that
 functionality. Something along the lines of:

 {{{
 function twentynineteen_image_filters_enabled() {
         return apply_filters( 'twentynineteen_image_filters_enabled', 0
 !== get_theme_mod( 'image_filter', 1 ) );
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45945>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list