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
411                          if ( !empty( $plugin_data['Author'] ) ) {
412                               $author = $plugin_data['Author'];
413                               if ( !empty( $plugin_data['AuthorURI'] ) )
414                                    $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>';
415                               $plugin_meta[] = sprintf( __( 'By %s' ), $author );
416                          }
417                          if ( ! empty( $plugin_data['PluginURI'] ) )
418                               $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin site' ) . '">' . __( 'Visit plugin site' ) . '</a>';
419
420                          $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status );
421                          echo implode( ' | ', $plugin_meta );
422
423                          echo "</div></td>";
424                          break;
425                     default:
426                          echo "<td class='$column_name column-$column_name'$style>";
427                          do_action( 'manage_plugins_custom_column', $column_name, $plugin_file, $plugin_data );
428                          echo "</td>";
429                }