Added hooks for specifying a data-object-position attribute value on media headers. Allows child themes to provide polyfilled media background object-positions to re-position header images/videos as screen sizes expand or contract.
Made ucfwp_get_media_background_picture() and ucfwp_get_media_background_video() pluggable.
Added hook that allows ucfwp_get_media_background_picture_srcs()'s returned value to be modified.
data-object-position
attribute value on media headers. Allows child themes to provide polyfilled media backgroundobject-position
s to re-position header images/videos as screen sizes expand or contract.ucfwp_get_media_background_picture()
anducfwp_get_media_background_video()
pluggable.ucfwp_get_media_background_picture_srcs()
's returned value to be modified.