• Is there a function to get the original url before it is turned into the permalink from a permalink?

    Have been searching but havn’t found one yet.

    The reason is to fix a plugin I am using in my multisite install for adding images to comments where there is some code that converts to a thumbnail but needs the full path on the server and can’t extract that from the permalink.

    Hence looking for something like from_permalink($permalink)

    Or any other suggestions?

The topic ‘Looking for wp function to get pre permalink url’ is closed to new replies.