Redirect after payment for Events plugin

I would like to member be redirected to a specific page after payment, instead back to event payment page, could you please, help me?

  • Konstantinos Xenos
    • Rubber Duck Debugger

    Hi Johnathan ,

    You can achieve a redirect when a user returns from PayPal by adding this code into your functions.php ( preferably your child themes ).

    You’ll have to replace the “/your-slug-here/” with the page slug that you want him to be redirected.

    add_action( 'template_redirect', 'my_redirect_after_event_payment' );
    function my_redirect_after_event_payment() {
    if ( isset( $_GET['paypal_processing'] ) ) {
    wp_redirect( home_url( '/your-slug-here/' ) );

    Tell me if you need further help!



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.