我正在使用Visual Composer插件我在word press的post列表表中找到了一个删除行操作的代码段。
add_filter( \'post_row_actions\', \'remove_row_actions\', 10, 1 );
function remove_row_actions( $actions )
{
if( get_post_type() === \'my_cpt\' )
unset( $actions[\'view\'] );
return $actions;
}
但我找不到
Edit with Visual Composer我想删除或编辑行操作“”中的链接查看屏幕截图

最合适的回答,由SO网友:birgire 整理而成
通常,更改代码段中的过滤器优先级,使其在插件修改行操作后运行,例如。99 或稍后查看$actions 例如。
print_r( $actions );
在测试安装中查找密钥或搜索插件代码
page_row_actions.
在某些情况下,应能够移除page_row_actions 使用筛选回调remove_filter(), 但是一些插件让它变得更难。
ps:我想你正在寻找edit_vc 行操作键。