Advertisement
websupporter

add additional meta information to the plugin description

May 1st, 2015
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. <?php
  2. add_filter( 'plugin_row_meta', 'websupporter_row_meta', 10, 2 );
  3. function websupporter_row_meta( $links, $file ){
  4.     if( $file != plugin_basename( __FILE__ ) )
  5.         return $links;
  6.    
  7.     $links[] = '<a href="http://example.com">Yet another link</a>';
  8.     return $links;
  9. }
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement