Docs: Add return value description for register_theme_directory()
.
Props stevenlinx. Fixes #50665. git-svn-id: https://develop.svn.wordpress.org/trunk@48491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
caefeeea17
commit
b001723394
@ -397,7 +397,8 @@ function get_theme_roots() {
|
||||
*
|
||||
* @param string $directory Either the full filesystem path to a theme folder
|
||||
* or a folder within WP_CONTENT_DIR.
|
||||
* @return bool
|
||||
* @return bool True if successfully registered a directory that contains themes,
|
||||
* false if the directory does not exist.
|
||||
*/
|
||||
function register_theme_directory( $directory ) {
|
||||
global $wp_theme_directories;
|
||||
|
Loading…
Reference in New Issue
Block a user