Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: install_themes_{$tab}

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
73 foreach ( (array)$tabs as $action => $text ) {
74      $sep = ( end($tabs) != $text ) ? ' | ' : '';
75      $class = ( $action == $tab ) ? ' class="current"' : '';
76      $href = admin_url('theme-install.php?tab='. $action);
77      echo "\t\t<li><a href='$href'$class>$text</a>$sep</li>\n";
78 }
79 ?>
80      </ul>
81      <br class="clear" />
82      <?php do_action('install_themes_' . $tab, $paged); ?>
83 </div>
84 <?php
85 include('./admin-footer.php');
86