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