Enable Profile Photo uploader in Register and Account forms


This plugin seamlessly integrates the functionality for users to upload their profile photos directly within the Register and Account Forms. With a user-friendly setup, this feature enhances the registration and account creation process by enabling individuals to personalize their profiles right from the start. Upon installation and activation, users gain the convenience of uploading their profile pictures seamlessly, contributing to a more engaging and visually appealing user experience.

Setting Up Profile Photo Upload in Register Form

Follow these steps to integrate profile photo upload functionality in the Register Form after activating the plugin:

  1. Navigate to wp-admin > Ultimate Member > Forms > Edit Registration Form.
  2. Click on the "+" sign button to add a new field using UM Form Builder.

  3. In the Fields Manager window, select "Profile Photo" from the pre-defined fields.

  4. After adding the "Profile Photo" field, click on the "Update" button to save the changes.

With this configuration, users will be able to upload their profile photos seamlessly during the registration process, contributing to a more personalized and visually enriched user profile.

Setting Up Profile Photo Upload in Account Form 

To enable and support the Profile Photo uploader in the Account Form, use the provided code snippet:

add_filter( 'um_account_tab_general_fields', 'um_011921_add_profile_photo_uploader', 10, 2 );
function um_011921_add_profile_photo_uploader( $args, $shortcode_args ) {
    $args = 'register_profile_photo,' . $args;
    return $args;

Note: If you have encountered any issues, go to this article