• Hi all,

    I’ve embedded my login page as an iframe within my theme, it all works fine but I wish know the whereabouts on wp-login.php(or most likely a different page) is the function that is called once the user logs in successfully.

    I wish to change this to call a function on the parent page, more specifically one which will redirect it to a different page.
    So it will call say ‘parent.my_redirectfunct()’ instead of ‘location.refresh();’ or whatever the function is that is normally called when a user logs in, as now it obviously is redirecting but still within the iframe, which aint ideal.

    I also know that you can use the login function on a template page, but this will not do unfortunately. The login page will need to be embedded as an iframe for another plugin I have.

    Thanks, for any advice,

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing function called in wp-login.php when user log's in’ is closed to new replies.