mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Add some plugin specific hooks to the plugin management screen. Fixes #7856 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@9124 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
46740aae3a
commit
8b7e31f8ce
@ -315,6 +315,7 @@ function print_plugins_table($plugins, $context = '') {
|
||||
$action_links[] = '<a href="plugin-editor.php?file=' . $plugin_file . '" title="' . __('Open this file in the Plugin Editor') . '" class="edit">' . __('Edit') . '</a>';
|
||||
|
||||
$action_links = apply_filters('plugin_action_links', $action_links, $plugin_file, $plugin_data, $context);
|
||||
$action_links = apply_filters("plugin_action_links_$plugin_file", $action_links, $plugin_data, $context);
|
||||
|
||||
echo "
|
||||
<tr class='$context'>
|
||||
@ -328,6 +329,7 @@ function print_plugins_table($plugins, $context = '') {
|
||||
echo '</td>
|
||||
</tr>';
|
||||
do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context );
|
||||
do_action( "after_plugin_row_$plugin_file", $plugin_data, $context );
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user