wp_sms_number_unsubscribed_through_url

Updated on Mar 12, 2022

If you would like to redirect clients to a specific page after unsubscribing by URL, here is the hook that you have to use.

Just replace XXXXX with your desired path.

add_action( 'wp_sms_number_unsubscribed_through_url', function($number){

    wp_redirect( '/XXXXX' );
    exit;

} );