protected function addAdminFilter()
    {
        if (!is_admin()) {
            return;
        }

        add_filter('show_advanced_plugins', function (bool $show, string $type): bool {
            return $this->showAdvancedPlugins($show, $type);
        }, 0, 2);

        add_filter('plugin_row_meta', function (array $links, string $file): array {
            return $this->pluginRowMeta($links, $file);
        }, 10, 2);
    }
protected function addAdminFilter()
    {
        if (!is_admin()) {
            return;
        }

        add_filter('show_advanced_plugins', function (bool $show, string $type): bool {
            return $this->showAdvancedPlugins($show, $type);
        }, 0, 2);

        add_filter('plugin_row_meta', function (array $links, string $file): array {
            return $this->pluginRowMeta($links, $file);
        }, 10, 2);
    }
protected function addAdminFilter ( ) { if ( ! is_admin ( ) ) { return ; } add_filter ( 'show_advanced_plugins' , function ( bool $ show , string $ type ) : bool { return $ this -> showAdvancedPlugins ( $ show , $ type ) ; } , 0 , 2 ) ; add_filter ( 'plugin_row_meta' , function ( array $ links , string $ file ) : array { return $ this -> pluginRowMeta ( $ links , $ file ) ; } , 10 , 2 ) ; }
Add admin filter hooks.

@return void
Add admin filter hooks .