WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
425 | if ( !empty( $plugin_data['Author'] ) ) { |
426 | $author = $plugin_data['Author']; |
427 | if ( !empty( $plugin_data['AuthorURI'] ) ) |
428 | $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>'; |
429 | $plugin_meta[] = sprintf( __( 'By %s' ), $author ); |
430 | } |
431 | if ( ! empty( $plugin_data['PluginURI'] ) ) |
432 | $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin site' ) . '">' . __( 'Visit plugin site' ) . '</a>'; |
433 |
|
434 | $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status ); |
435 | echo implode( ' | ', $plugin_meta ); |
436 |
|
437 | echo "</div></td>"; |
438 | break; |
439 | default: |
440 | echo "<td class='$column_name column-$column_name'$style>"; |
441 | do_action( 'manage_plugins_custom_column', $column_name, $plugin_file, $plugin_data ); |
442 | echo "</td>"; |
443 | } |