apply_filters( ‘allow_subdirectory_install’, bool $allow )

In this article

Filters whether to enable the subdirectory installation feature in Multisite.

Parameters

$allowbool
Whether to enable the subdirectory installation feature in Multisite.
Default false.

Source

if ( apply_filters( 'allow_subdirectory_install', false ) ) {

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.