allow_subdirectory_install

allow_subdirectory_install

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('allow_subdirectory_install') is found 1 times:

  • /wp-admin/includes/network.php line 65
    	 *
    	 * @param bool $allow Whether to enable the subdirectory installation feature in Multisite.
    	 *                    Default false.
    	 */
    	if ( apply_filters( 'allow_subdirectory_install', false ) ) {
    		return true;
    	}
    
    	if ( defined( 'ALLOW_SUBDIRECTORY_INSTALL' ) && ALLOW_SUBDIRECTORY_INSTALL ) {
    		return true;
    	}