Ticket #7856 (closed defect (bug): fixed)
Add plugin_action_links_{$plugin} hook
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | General | Version: | 2.7 |
| Severity: | normal | Keywords: | plugins, filters, has-patch |
| Cc: |
Description
Per discussion on wp-hackers, this is a patch to add a plugin_action_links_{$plugin} filter.
It runs just after the plugin_action_links filter.
Note -- the initial patch on this uses the plugin_basename for $plugin, rather than the string returned from add_options_page.
Attachments
Change History
-
attachment
patch.diff
added
- Owner changed from anonymous to westi
- Status changed from new to assigned
Nice!
-
attachment
after_row_patch.diff
added
New patch = old patch plus after_plugin_row_{$plugin} filter. Two birds with one stone?
New patch has one other difference -- I added $plugin_data back into the plugin_action_links_{$plugin} filter.
I had removed it in the first patch, but it should probably be there -- no real reason to remove it.
-
attachment
akismet_sample_patch.diff
added
As a demonstration, this patch modifies Akismet to use this new filter. Now has "Settings" link in plugin admin row.

adds plugin_action_links_{$plugin} filter to plugins.php