src/web/app/mu-plugins/register-theme-directory.php
author ymh <ymh.work@gmail.com>
Mon, 17 Jun 2019 17:00:14 +0200
changeset 24 86535a5969b8
parent 1 79bc439970cd
permissions -rw-r--r--
Style correction + remove emoji from CDN prefetch (cf. disable-emojis plugin)

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