SHARE
TWEET

add additional meta information to the plugin description

websupporter May 1st, 2015 261 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top