Inline documentation for hooks in wp-admin/network.php.
Props johnafish. Fixes #25502. git-svn-id: https://develop.svn.wordpress.org/trunk@25722 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3170612070
commit
887af83f53
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user