Support » Theme: Twenty Seventeen » Unregister deafult header images – HOW?

  • I’m trying to remove the default image that is proposed in the customizer.

    In my mind this should work:

    
    function df_remove_header_images() {
    	unregister_default_headers('default-image');
    }
    add_action( 'after_setup_theme', 'df_remove_header_images', 11 );

    I’m running it in my child theme functions.php – it doesn’t do anything…

    Any ideas? Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Unregister deafult header images – HOW?’ is closed to new replies.