Home/Hooks/allow_subdirectory_install
FILTER

allow_subdirectory_install

Filters whether to enable the subdirectory installation feature in Multisite. Default false.

wp-admin/includes/network.php
Line 65
1 Parameter
View Source

Usage

add_filter( 'allow_subdirectory_install', 'your_callback_function', 10, 1 );

Filter Callback:

function your_callback_function( false ) {
    // Your code here
    return false;
}

Parameters

false

Parameter 1

🔄 Filter Hook

Filter hooks allow you to modify data before it is saved to the database or displayed on the screen. Filters must return a value.