• I think there is a bug in the
    /wp-content/plugins/pmpro-addon-packages-master/pmpro-addon-packages.php file with respect to:

    * After checking out, they are taken to a new confirmation page or the PMPro confirmation page with extra info.

    I am unable to find where to “create” the new confirmation page. Right now, the confirmation page is pulling the “message” from my initial membership confirmation and it is adding the sentence that my “add-on” is available to be clicked.

    I need to have a clean confirmation page that removes the original confirmation message and only leaves me the sentence that my “add-on” is available.

    I tried to modify this to remove the “pmpro_confirmation_message” but I received an error.

    add_filter(“pmpro_confirmation_message”,”pmproap_pmpro_confirmation_message”);

    Please let me know the proper way to A) suppress the original confirmation message or B) create the new confirmation message for the add-on like it states in the “readme.txt” file.

    Thanks very much.. This is sorta urgent.

    Brian

    https://wordpress.org/plugins/paid-memberships-pro/

Viewing 1 replies (of 1 total)
  • This is totally kludgey but if you just want to get rid of the confirmation page altogether and redirect all new members to a particular URL after sign-up, then I think you can go with this in your functions.php or a custom plugin:

    function my_pmpro_confirmation_url($url, $user_id, $level) {
    
        $url = 'http://www.yoursite.com';
    
        return $url;
    }
    add_filter('pmpro_confirmation_url', 'my_pmpro_confirmation_url', 10, 3);

    I am not 100% on this code, it’s untested, but that filter should be the one you want.

    ETA: You can also do if/then conditionals in the function to have users signing up for your regular membership level go to the standard PMPRo confirmation page they get today, with users signing up for the Add On Packages to go to your home page or wherever.

Viewing 1 replies (of 1 total)

The topic ‘PMPro addon-packages-master confirmation page issue’ is closed to new replies.