Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: profile_personal_options

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
226 <td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e( 'Enable keyboard shortcuts for comment moderation. <a href="http://codex.wordpress.org/Keyboard_Shortcuts">More information</a>' ); ?></label></td>
227 </tr>
228 <?php
229 endif;
230 do_action('personal_options', $profileuser);
231 ?>
232 </table>
233 <?php
234      if ( $is_profile_page )
235           do_action('profile_personal_options', $profileuser);
236 ?>
237
238 <h3><?php _e('Name') ?></h3>
239
240 <table class="form-table">
241      <tr>
242           <th><label for="user_login"><?php _e('Username'); ?></label></th>
243           <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" class="regular-text" /> <?php _e('Your username cannot be changed.'); ?></td>
244      </tr>