Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wpmueditblogaction

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
142                          <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?>
143                          <td><code><?php echo esc_html( $option->option_value ) ?></code></td>
144                          <?php } else { ?>
145                          <td><input class="<?php echo $class; ?>" name="option[<?php echo esc_attr( $option->option_name ) ?>]" type="text" id="<?php echo esc_attr( $option->option_name ) ?>" value="<?php echo esc_attr( $option->option_value ) ?>" size="40" <?php disabled( $disabled ) ?> /></td>
146                          <?php } ?>
147                     </tr>
148                <?php
149                }
150           } // End foreach
151           do_action( 'wpmueditblogaction', $id );
152           ?>
153      </table>
154      <?php submit_button(); ?>
155 </form>
156
157 </div>
158 <?php
159 require('../admin-footer.php');
160