Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 336 Bytes
<?php
/*
Plugin Name: Register Theme Directory
Plugin URI: https://roots.io/bedrock/
Description: Register default theme directory
Version: 1.0.0
Author: Roots
Author URI: https://roots.io/
License: MIT License
*/
if (!defined('WP_DEFAULT_THEME')) {
register_theme_directory(ABSPATH . 'wp-content/themes');
}