WordPress: custom links on plugin page
Since WordPress 2.8, you can easily add your own links to the plugin page. This can be useful to jump right to the settings of the plugin. Example code:
Two other interesting plugin hooks are:
These are both run after the row was printed.© GeekLabInfo
function set_plugin_meta($plugin_meta, $plugin_file, $plugin_data, $status){ if (plugin_basename(__FILE__)!=$plugin_file) return $plugin_meta; return array_merge( $plugin_meta, array( sprintf( '<a href="options-general.php?page=%s">%s</a>', $plugin, __('Settings') ) )); } add_filter( 'plugin_row_meta', 'set_plugin_meta', 10, 2 );
do_action( 'after_plugin_row', $plugin_file, $plugin_data, $status ); do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $status );

