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 |
---|---|
29 | </p> |
30 |
|
31 | <h3><?php _e('Personal Options'); ?></h3> |
32 |
|
33 | <?php if ( rich_edit_exists() ) : // don't bother showing the option if the editor has been removed ?> |
34 | <p><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_user_option('rich_editing')); ?> /> |
35 | <?php _e('Use the visual editor when writing') ?></label></p> |
36 | <?php endif; ?> |
37 |
|
38 | <?php do_action('profile_personal_options'); ?> |
39 |
|
40 | <p class="submit"><input type="submit" value="<?php _e('Update Profile »') ?>" name="submit" /></p> |
41 |
|
42 | <fieldset> |
43 | <legend><?php _e('Name'); ?></legend> |
44 | <p><label><?php _e('Username: (no editing)'); ?><br /> |
45 | <input type="text" name="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" /> |
46 | </label></p> |
47 |
|