Where is the code that set the background image in TwentyTen theme? July 24, 2022 by Tarik Billa This is native WP feature, it is set up in Twenty Ten with simple add_custom_background() call in functions.php.