I solved my question with two functions:
const PLUGIN_SLUG = "super-socializer/super_socializer.php";
add_filter("plugin_action_links_" . PLUGIN_SLUG, function ($actions, $plugin_file, $plugin_data, $context) {
unset($actions[1]); // remove link "Add-Ons"
unset($actions[2]); // remove link "Support Documentation"
return $actions;
}, 10, 4);
add_filter( 'plugin_row_meta', 'custom_plugin_row_meta', 10, 2 );
function custom_plugin_row_meta( $links, $file ) {
if( strpos( $file, 'super_socializer.php' ) !== false ) {
$new_links = array(
'addons' => '<a href="' . esc_url( 'https://www.heateor.com/add-ons' ) . '" target="_blank" aria-label="' .
esc_attr__( 'Add-Ons', 'domain' ) . '">' . esc_html__( 'Add-Ons', 'domain' ) . '</a>',
'support' => '<a href="' . esc_url( 'https://www.heateor.com/add-ons' ) . '" target="_blank" aria-label="' .
esc_attr__( 'Support Documentation', 'domain' ) . '">' . esc_html__( 'Support Documentation', 'domain' ) . '</a>'
);
$links = array_merge( $links, $new_links );
}
return $links;
}
https://drive.google.com/open?id=12yT5IoicCWMjG26Kur7Ou6mn96K6P7Ch