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;
}
| improve this answer | |
0

Change the plugin name to something unique. If I can remember correctly, this is all that is needed. Just a note though, adhere to any special licence requirements there may be from the original author. Don't make code yours if you did nkot write it, always leave some credit to the author :-)

| improve this answer | |

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.