WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 4 months ago

#36686 new enhancement

plugin_row_meta hook for specific plugin

Reported by: hiddenpearls Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.1
Component: Plugins Keywords:
Focuses: Cc:

Description

Hello WordPressers,

It is my first post here. So please forgive me if something is wrong.

What I see here https://core.trac.wordpress.org/browser/tags/4.5.1/src/wp-admin/includes/class-wp-plugins-list-table.php#L773 plugin_row_meta is a filter hook available but It is not available for specific plugin like we have "plugin_action_links_{$plugin_file}" available here https://core.trac.wordpress.org/browser/tags/4.5.1/src/wp-admin/includes/class-wp-plugins-list-table.php#L682

Shouldn't there be a "plugin_row_meta_{$plugin_file}" filter to call on specific plugins ??

Change History (1)

#1 @swissspidy
3 years ago

$plugin_meta and $plugin_file are already passed to the the filter. That should suffice for targeting a specific row.

Note: See TracTickets for help on using tickets.