register_theme_directory ( $directory )
- (string) directory Either the full filesystem path to a theme folder or a folder within WP_CONTENT_DIR.
- (bool) True if successfully registered a directory that contains themes, false if the directory does not exist.
- Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Registers a directory that contains themes.