Advertisement
Beee

profile hook

Sep 17th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.39 KB | None | 0 0
  1.         <tr id="password">
  2.             <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>
  3.             <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></span><br />
  4.                 <input type="password" name="pass2" id="pass2" size="16" value="" autocomplete="off" /> <span class="description"><?php _e( 'Type your new password again.' ); ?></span><br />
  5.                 <div id="pass-strength-result"><?php _e( 'Strength indicator', 'theme-my-login' ); ?></div>
  6.                 <p class="description indicator-hint"><br /><?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 ! " ? $ % ^ &amp; ).' ); ?></p>
  7.             </td>
  8.         </tr>
  9.         <?php endif; ?>
  10.         </table>
  11.  
  12.         <?php do_action( 'show_user_profile', $profileuser );
  13.             // this is where events manager hooks in its specific info
  14.         ?>
  15.  
  16.         <p class="submit">
  17.             <input type="hidden" name="action" value="profile" />
  18.             <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
  19.             <input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr( $current_user->ID ); ?>" />
  20.             <input type="submit" class="button-primary" value="<?php esc_attr_e( 'Update Profile' ); ?>" name="submit" />
  21.         </p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement