Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: plugin_row_meta

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
451           if ( !empty($plugin_data['Author']) ) {
452                $author = $plugin_data['Author'];
453                if ( !empty($plugin_data['AuthorURI']) )
454                     $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . __( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>';
455                $plugin_meta[] = sprintf( __('By %s'), $author );
456           }
457           if ( ! empty($plugin_data['PluginURI']) )
458                $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . __( 'Visit plugin site' ) . '">' . __('Visit plugin site') . '</a>';
459
460           $plugin_meta = apply_filters('plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $context);
461           echo implode(' | ', $plugin_meta);
462           echo "</td>
463      </tr>\n";
464
465           do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context );
466           do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $context );
467      }
468 ?>
469      </tbody>