Enable Profile Photo uploader in Register and Account forms


This plugin will allow users to upload their profile photos in the Register and Account Forms. You can read the installation guide here.

Set up in Register Form

Once the plugin is activated, you need to add the pre-defined field "Profile Photo" to the Register form via UM Form Builder.

Go to wp-admin> Ultimate Member> Forms> Edit Registration Form

Click on the plus " +" sign button to add a field.

The Fields Manager window will appear then select  "Profile Photo" from the pre-defined fields.

Once added, click on the "Update" button to save changes.

Set up in the Account Form

It is required to set the Profile Photo Uploader first in the Register Form, and you need to use the code snippet below to enable and support the Profile Photo uploader in the Account Form:

``` 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