Note: fields marked with (*) are required.

'; $photo = '
'; $photo .= 'Photo'; ob_start(); $args = array( 'textarea_name' => 'user_photo', 'wpautop' => false, 'media_buttons' => true, 'quicktags' => false, 'editor_height' => 200, 'tinymce' => array( 'theme_advanced_buttons1' => '', 'theme_advanced_buttons2' => '', 'content_css' => '' ), ); wp_editor( htmlspecialchars_decode( stripslashes( get_user_meta( $id, 'user_photo', true ) ) ), 'user_photo', $args ); $photo .= ob_get_clean(); $photo .= '
'; $firstname = '
'; $firstname .= ''; $firstname .= '
'; $lastname = '
'; $lastname .= ''; $lastname .= '
'; $email = '
'; $email .= ''; $email .= '
'; $password = '
'; $password .= '

Change Your Password

'; $password .= ''; $password .= ''; $password .= '
'; $password .= ' ' . "If you would like to change the password type a new one. Otherwise leave this blank." . ''; $password .= ' ' . "Type your new password again." . ''; $password .= ''; $password .= '

' . 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ' . '

'; $password .= '
'; $submit = '
'; //construct the form $form_open = '
'; $form .= apply_filters( 'user_profile_form_open', $form_open ); $form .= apply_filters( 'user_profile_field_note', $fieldnote ); $form .= apply_filters( 'user_profile_photo', $photo ); $form .= apply_filters( 'user_profile_first_name', $firstname ); $form .= apply_filters( 'user_profile_last_name', $lastname ); $form .= apply_filters( 'user_profile_email', $email ); $form .= apply_filters( 'user_profile_password', $password ); $form .= apply_filters( 'user_profile_submit', $submit ); $form .= '
'; }else{ $form .= "
You do not have permission to access this page.
"; } return $form; } /** end */