Welcome, visitor! Log in
 

Source View: after_plugin_row

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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: 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.

Source View

Line Code
159           <td class='name'>{$plugin_data['Title']}</td>
160           <td class='vers'>{$plugin_data['Version']}</td>
161           <td class='desc'><p>{$plugin_data['Description']}$author</p></td>
162           <td class='togl'>$toggle</td>";
163           if ( current_user_can('edit_plugins') )
164           echo "
165           <td>$edit</td>";
166           echo"
167      </tr>";
168      do_action( 'after_plugin_row', $plugin_file );
169      }
170 ?>
171
172 <tr>
173      <td colspan="3">&nbsp;</td>
174      <td colspan="2" style="width:12em;"><a href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a></td>
175 </tr>
176
177 </table>