/** * Filter link of Title in All Views page */ public function filter_get_edit_post_link($edit_link, $post_id, $context) { // Get current post type $post_type = PT_CV_Functions::admin_current_post_type(); if ($post_type != PT_CV_POST_TYPE) { return $edit_link; } // Get View id $view_id = get_post_meta($post_id, PT_CV_META_ID, true); $edit_link = PT_CV_Functions::view_link($view_id); return $edit_link; }