get_loaded_extensions example

if ( is_multisite() ) {
        $num_blogs         = get_blog_count();
        $wp_install        = network_site_url();
        $multisite_enabled = 1;
    } else {
        $multisite_enabled = 0;
        $num_blogs         = 1;
        $wp_install        = home_url( '/' );
    }

    $extensions = get_loaded_extensions();
    sort( $extensions, SORT_STRING | SORT_FLAG_CASE );
    $query = array(
        'version'            => $wp_version,
        'php'                => $php_version,
        'locale'             => $locale,
        'mysql'              => $mysql_version,
        'local_package'      => isset( $wp_local_package ) ? $wp_local_package : '',
        'blogs'              => $num_blogs,
        'users'              => get_user_count(),
        'multisite_enabled'  => $multisite_enabled,
        'initial_db_version' => get_site_option( 'initial_db_version' ),
        
Home | Imprint | This part of the site doesn't use cookies.