protected function showAdvancedPlugins(bool $show, string $type): bool
    {
        if (!$this->isPluginsScreen() || $type !== 'mustuse' || !current_user_can('activate_plugins')) {
            return $show;
        }

        $plugins = array_merge($this->autoloadPlugins, $this->mustUsePlugins);

        $GLOBALS['plugins']['mustuse'] = array_unique($plugins, SORT_REGULAR);

        return false;
    }
protected function showAdvancedPlugins(bool $show, string $type): bool
    {
        if (!$this->isPluginsScreen() || $type !== 'mustuse' || !current_user_can('activate_plugins')) {
            return $show;
        }

        $plugins = array_merge($this->autoloadPlugins, $this->mustUsePlugins);

        $GLOBALS['plugins']['mustuse'] = array_unique($plugins, SORT_REGULAR);

        return false;
    }
protected function showAdvancedPlugins ( bool $ show , string $ type ) : bool { if ( ! $ this -> isPluginsScreen ( ) || $ type !== 'mustuse' || ! current_user_can ( 'activate_plugins' ) ) { return $ show ; } $ plugins = array_merge ( $ this -> autoloadPlugins , $ this -> mustUsePlugins ) ; $ GLOBALS [ 'plugins' ] [ 'mustuse' ] = array_unique ( $ plugins , SORT_REGULAR ) ; return false ; }
Display autoloaded plugins in must-use plugin list.

@param bool $show
@param string $type

@return bool
Display autoloaded plugins in must - use plugin list .