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:
Sergey Biryukov 2020-07-15 12:08:32 +00:00
parent caefeeea17
commit b001723394
1 changed files with 2 additions and 1 deletions

View File

@ -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;