有过滤器:"views_plugin-install"
(参见here).
你可以在/wp-admin/includes/class-wp-plugin-install-list-table.php
(目前)226号线:
$views = apply_filters( "views_{$this->screen->id}", $views );
使用方法如下:
add_filter( \'views_plugin-install\', \'my_filter\', 10, 1 );
function my_filter( $views ){
//Do your stuff
return $views;
}