Skip to content

Commit 887af83

Browse files
committed
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
1 parent 3170612 commit 887af83

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/wp-admin/network.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,20 @@ function allow_subdomain_install() {
5858
return true;
5959
}
6060
/**
61-
* Allow subdirectory install
61+
* Allow subdirectory install.
6262
*
6363
* @since 3.0.0
6464
* @return bool Whether subdirectory install is allowed
6565
*/
6666
function allow_subdirectory_install() {
6767
global $wpdb;
68+
/**
69+
* Filter whether to enable the subdirectory install feature in Multisite.
70+
*
71+
* @since 3.0.0
72+
*
73+
* @param bool true Whether to enable the subdirectory install feature in Multisite. Default is false.
74+
*/
6875
if ( apply_filters( 'allow_subdirectory_install', false ) )
6976
return true;
7077

0 commit comments

Comments
 (0)