这是过滤器:"plugin_install_action_links"
.
你可以在/wp-admin/includes/class-wp-plugin-install-list-table.php
(目前)第434行:
$action_links = apply_filters( \'plugin_install_action_links\', $action_links, $plugin );
使用方法如下:
add_filter( \'plugin_install_action_links\', \'my_custom_links\', 10, 2 );
function my_custom_links( $action_links, $plugin ){
$action_links[] = \'<a href="">......</a>\';
return $action_links;
}