您将要使用post_row_actions
滤器https://developer.wordpress.org/reference/hooks/post_row_actions-2/
例如,要添加链接,可以尝试以下操作:
function add_custom_link($actions, $page_object)
{
$actions[\'custom_link\'] = \'<a href="http://www.example.com">My Custom Link</a>\';
return $actions;
}
add_filter(\'post_row_actions\', \'add_custom_link\', 10, 2);