register-theme-directory.php 367 B

1234567891011121314
  1. <?php
  2. /**
  3. * Plugin Name: Register Theme Directory
  4. * Plugin URI: https://github.com/roots/bedrock/
  5. * Description: Register default theme directory
  6. * Version: 1.0.0
  7. * Author: Roots
  8. * Author URI: https://roots.io/
  9. * License: MIT License
  10. */
  11. if (!defined('WP_DEFAULT_THEME')) {
  12. register_theme_directory(ABSPATH . 'wp-content/themes');
  13. }