WordPress.org

Make WordPress Core

Changeset 48491


Ignore:
Timestamp:
07/15/2020 12:08:32 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add return value description for register_theme_directory().

Props stevenlinx.
Fixes #50665.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r48490 r48491  
    398398 * @param string $directory Either the full filesystem path to a theme folder
    399399 *                          or a folder within WP_CONTENT_DIR.
    400  * @return bool
     400 * @return bool True if successfully registered a directory that contains themes,
     401 *              false if the directory does not exist.
    401402 */
    402403function register_theme_directory( $directory ) {
Note: See TracChangeset for help on using the changeset viewer.