How do I create more of these? enter image description here

so that i can create proper plugins categories in the network plugin dashboard of wordpress.


Displaying some custom text there can be done using views_plugins filter:

add_filter('views_plugins', 'add_plugins_views', 10, 1);
function add_plugin_views($views) {
    $views['foo'] => 'bar (?)'; 
    return $views;

If what you need is actually setting a property for all plugins and display a count of this custom property you might want to take a look at WP_Plugins_List_Table.


solved with the plugin: "plugin categories" .

Edited to explain how it works:

there are no hooks for the screenshot I posted, therefore the only solution is to offer a way to store categories relations into the database.

The plugin uses options table to store the data, ad saves through ajax.

Hooks into the columns display of the plugin page and offers an action link to edit the categories.

I added a bulk action to append categories to a group of plugins through default wordpress checkboxes.

To display only plugins belonging to different categories the plugin filters the view-all table eliminating the excluded ones.

  • This isn’t very helpful, because plugins come and go. Please explain how it works, so we can reproduce it later. – fuxia Feb 3 '15 at 14:53

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.