Get integer ID from redirectTarget string

Marcus

Well-known member
I want to hook in after a redirect and want to fetch the ID used in responseRedirect->redirectTarget. How can I fetch this ID? Intval is not working as it is a string with just an integer value at the end. Thanks !
 
An integer valued trimmed explode got that working, although it's not pretty. Maybe there is a xenforo function for that?
 
Top Bottom