How to remove row action “Edit with Visual Composer” in the post list table?

In general change the filter priority in your code snippet so it runs after the plugin has modified the row action, e.g. 99 or later and check out the $actions with e.g.

print_r( $actions );

on your test install to find the key or search the plugin code for page_row_actions.

In some cases one should be able to remove the page_row_actions filter callback with remove_filter(), but some plugins make it harder.

ps: I think you’re looking for the edit_vc row action key.