public function remove_quick_edit($actions) { global $post; if ($post->post_type === 'ticket') { unset($actions['inline hide-if-no-js']); } return $actions; }