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:

Description

Registers a directory that contains themes.

Related Functions

search_theme_directories, register_theme_feature, get_template_directory, get_stylesheet_directory, get_template_directory_uri

Top Google Results

User discussions

wpseek mobile