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