Languages: English • Italiano • 日本語 (Add your language)
Register a directory that contains themes.
<?php register_theme_directory( $directory ) ?>
<?php /* * For directory structure like: * * /my-plugin/ * - /my-plugin.php * - /themes/ * * You would put this in my-plugin.php. */ register_theme_directory( dirname( __FILE__ ) . '/themes' );
Since: 2.9.0
register_theme_directory() is located in wp-includes/theme.php
.