src/web/app/mu-plugins/register-theme-directory.php
author ymh <ymh.work@gmail.com>
Mon, 08 Mar 2021 16:17:44 +0100
changeset 45 02af213cad7d
parent 1 79bc439970cd
permissions -rw-r--r--
Added tag 0.8.1 for changeset 75ec8b6829cc

<?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');
}