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 |
---|---|
108 | <tr class="form-field form-required"> |
109 | <th scope="row"><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> |
110 | <td><input name="email" type="text" id="email" value="<?php echo esc_attr($new_user_email); ?>" /></td> |
111 | </tr> |
112 | <tr class="form-field"> |
113 | <th scope="row"><label for="url"><?php _e('Website') ?></label></th> |
114 | <td><input name="url" type="text" id="url" class="code" value="<?php echo esc_attr($new_user_uri); ?>" /></td> |
115 | </tr> |
116 |
|
117 | <?php if ( apply_filters('show_password_fields', true) ) : ?> |
118 | <tr class="form-field form-required"> |
119 | <th scope="row"><label for="pass1"><?php _e('Password'); ?> <span class="description"><?php _e('(twice, required)'); ?></span></label></th> |
120 | <td><input name="pass1" type="password" id="pass1" autocomplete="off" /> |
121 | <br /> |
122 | <input name="pass2" type="password" id="pass2" autocomplete="off" /> |
123 | <br /> |
124 | <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> |
125 | <p class="description indicator-hint"><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).'); ?></p> |
126 | </td> |