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
136                          <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?>
137                          <td><code><?php echo esc_html( $option->option_value ) ?></code></td>
138                          <?php } else { ?>
139                          <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>
140                          <?php } ?>
141                     </tr>
142                <?php
143                }
144           } // End foreach
145           do_action( 'wpmueditblogaction', $id );
146           ?>
147      </table>
148      <?php submit_button(); ?>
149 </form>
150
151 </div>
152 <?php
153 require('../admin-footer.php');
154