Hardcoding a default theme

To preset a custom theme as the default for a WordPress project, copy it into wp-content/themes/, then add this line to the wp-config.php file, replacing ‘theme-name’ with the name of the new default:

define('WP_DEFAULT_THEME', 'theme-name');