0

How can I remove "View Details" link from plugins listing in Admin panel without change in WordPress core files.

enter image description here

  • :( the more you try to hide things from admins the more likely they will think you have something to hide – Mark Kaplun Sep 20 '18 at 15:34
0

Try following code:

add_filter('plugin_row_meta','fun_hide_view_details',10,4);
function fun_hide_view_details($plugin_meta, $plugin_file, $plugin_data, $status)
{
  if($plugin_data['slug'] == 'YOUR_PLUGIN_SLUG')
    unset($plugin_meta[2]);
  return $plugin_meta;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.