Convert permalinks to site ID, blog ID, type (e.g. 'post'), and type ID
-
Let’s say I have a permalink. Now I want to know how to CORRECTLY reverse engineer that permalink back into site ID, blog ID, type (e.g. ‘post’, ‘attachment’, etc.), and type ID. Basically, feed in a permalink and get back an array of useful information. I know get_permalink() generates a permalink, so what is the inverse function called?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Convert permalinks to site ID, blog ID, type (e.g. 'post'), and type ID’ is closed to new replies.