Not understanding redirect url

This topic contains 2 replies, has 2 voices, and was last updated by  Guust 7 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #391979

    Steve
    Full Member
    Post count: 1019

    I have installed the Code Snippet plugin and I am having difficulties in the “registration” redirect.

    After new user registers I would like for them to be redirected to “usfdins.com/member-options/ page.

    add_filter(‘geodir_login_url’,’_my_geodir_login_url’,10,3);
    function _my_geodir_login_url($login_url,$args,$gd_page_id){
    if(isset($args[‘signup’])){
    //change the url to whatever you want??
    $login_url = ‘https://usfdins.com/member-options’;
    }
    return $login_url;

    I tested by going to add event and with add fire department and after putting in user name and password I was redirected “respectively” to either the Add Event page or the Add Fire Department page.

    #391980

    Steve
    Full Member
    Post count: 1019
    This reply has been marked as private.
    #391999

    Guust
    Moderator
    Post count: 29970

    Thanks for letting us know.

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount