Make WordPress Core

Opened 4 years ago

#45945 new enhancement

Twenty Nineteen: Consider adding a filter for the featured image color filter functionality.

Reported by: kjellr's profile kjellr Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.3
Component: Bundled Theme Keywords:
Focuses: Cc:


Originally raised by @hvianna and @grapplerulrich in this GitHub thread:

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 ) );

Change History (0)

Note: See TracTickets for help on using tickets.