src/PluginLoader.php
public function showAdvancedPlugins(bool $show, string $type)
    {
        if (!$this->isPluginsScreen() || $type !== 'mustuse' || !current_user_can('activate_plugins')) {
            return $show;
        }

        $GLOBALS['plugins']['mustuse'] = $this->getPlugins();
    }
public function showAdvancedPlugins(bool $show, string $type)
    {
        if (!$this->isPluginsScreen() || $type !== 'mustuse' || !current_user_can('activate_plugins')) {
            return $show;
        }

        $GLOBALS['plugins']['mustuse'] = $this->getPlugins();
    }
public function showAdvancedPlugins ( bool $ show , string $ type ) { if ( ! $ this -> isPluginsScreen ( ) || $ type !== 'mustuse' || ! current_user_can ( 'activate_plugins' ) ) { return $ show ; } $ GLOBALS [ 'plugins' ] [ 'mustuse' ] = $ this -> getPlugins ( ) ; }
Show must-use plugins on the plugins page.

@param bool $show
@param string $type

@return void
Show must - use plugins on the plugins page .