Support » Plugin: Ultimate Member - User Profile & Membership Plugin » How can I always open “Profile Page” in edit mode?

  • Resolved jcdazeredo

    (@jcdazeredo)


    Hello!

    I am having some difficulties with this plugin:

    I don’t want the user to click on a configuration button and then click in “Edit Profile” to be able to edit his profile. Is there a way to always open a Profile Page in edit mode? Even after “profile update” I wish to continue in edit mode and not get redirect to profile view mode.

    Thank you! I appreciate everyone’s help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @jcdazeredo

    You can use this code snippet to change the Redirect URL when Updating the Profile form.

    add_filter("um_edit_profile_cancel_uri","um_custom_edit_profile_cancel_uri", 10, 1 );
    function um_custom_edit_profile_cancel_uri( $url ){
      return um_get_core_page("user")."?um_action=edit";
    }

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @jcdazeredo

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. 🙂

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.