Inline documentation for hooks in wp-admin/network.php.

Props johnafish.
Fixes #25502.

Built from https://develop.svn.wordpress.org/trunk@25722


git-svn-id: http://core.svn.wordpress.org/trunk@25635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2013-10-07 23:43:10 +00:00
parent 54b569b44d
commit b5a5df8a40
1 changed files with 8 additions and 1 deletions

View File

@ -58,13 +58,20 @@ function allow_subdomain_install() {
return true;
}
/**
* Allow subdirectory install
* Allow subdirectory install.
*
* @since 3.0.0
* @return bool Whether subdirectory install is allowed
*/
function allow_subdirectory_install() {
global $wpdb;
/**
* Filter whether to enable the subdirectory install feature in Multisite.
*
* @since 3.0.0
*
* @param bool true Whether to enable the subdirectory install feature in Multisite. Default is false.
*/
if ( apply_filters( 'allow_subdirectory_install', false ) )
return true;