allow_subdirectory_install filter-hook . WP 3.0.0
Filters whether to enable the subdirectory installation feature in Multisite.
Usage
add_filter( 'allow_subdirectory_install', 'filter_function_name_5654' ); function filter_function_name_5654( $allow ){ // filter... return $allow; }
- $allow(true/false)
- Whether to enable the subdirectory installation feature in Multisite.
Default: false
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
allow_subdirectory_install
wp-admin/includes/network.php 64
if ( apply_filters( 'allow_subdirectory_install', false ) ) {