Filter the get_theme_mod()
function (wp-includes/theme.php
):
add_filter( 'theme_mod_header_image', 'localized_header' );
function localized_header( $img )
{
// Do something awesome with the $img path.
return $img;
}
Filter the get_theme_mod()
function (wp-includes/theme.php
):
add_filter( 'theme_mod_header_image', 'localized_header' );
function localized_header( $img )
{
// Do something awesome with the $img path.
return $img;
}