get_header_image() returns null
While working on a theme in wordpress 3.4.2, I realised that wordpress function get_header_image() returns null in a ‘mu-plugins’ plugin even though in the theme’s functions.php file I’ve set a ‘default-image’ like this: add_theme_support( ‘custom-header’, array( ‘default-image’ => get_template_directory_uri() . ‘/subdir/default-header-image.jpg’ ) ); In the theme template file header.php, I’ve called get_header_image(), and it returns … Read more