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:
parent
54b569b44d
commit
b5a5df8a40
|
@ -58,13 +58,20 @@ function allow_subdomain_install() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Allow subdirectory install
|
* Allow subdirectory install.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
* @return bool Whether subdirectory install is allowed
|
* @return bool Whether subdirectory install is allowed
|
||||||
*/
|
*/
|
||||||
function allow_subdirectory_install() {
|
function allow_subdirectory_install() {
|
||||||
global $wpdb;
|
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 ) )
|
if ( apply_filters( 'allow_subdirectory_install', false ) )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue