src/web/app/mu-plugins/register-theme-directory.php
author ymh <ymh.work@gmail.com>
Fri, 06 Dec 2019 01:17:36 +0100
changeset 5 170e0b52c451
parent 3 5301eb6ce6e2
permissions -rw-r--r--
Add languages

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