Advertisement
websupporter

Additional Action Links for WP Plugins

Apr 27th, 2015
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Plugin Name: Additional Action Links
  4.  * Author: Websupporter
  5.  * Description: This Plugin adds a new link to the Action links of the plugin. Wow!
  6.  * Author URI: http://websupporter.net/
  7.  * Plugin URI: http://websupporter.net/blog/de/zusatzliche-links-auf-der-plugin-ubersichtsseite-unterbringen/
  8.  **/
  9.  
  10. add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'aal_new_link' );
  11. function aal_new_link( $links ){
  12.     $links[] = '<a href="http://websupporter.net" target="_blank">More plugins by Websupporter</a>';
  13.     return $links;
  14. }
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement