PHP code example of devgeniem / wp-multisite-same-level-subdomains

1. Go to this page and download the library: Download devgeniem/wp-multisite-same-level-subdomains library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

devgeniem / wp-multisite-same-level-subdomains example snippets



// Default mu-plugins directory if you haven't set it
defined( 'WPMU_PLUGIN_DIR' ) or define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' );


define( 'SUNRISE', true );

define( 'MULTISITE_SAME_LEVEL_SUBDOMAINS', true );

define( 'MULTISITE_SAME_LEVEL_SUBDOMAINS', true );