Get correct permalink
-
Hi
I am a plugin developer and I am using this plugin to make it multilingual.
Because the plugin is getting quite complex I need quite specific features usually.
Right now I am strugling, because get_permalink() does not add the language code. Because of that, there seems to be a redirect in background which prevents me of posting POST data to dynamically generated URL.Does Polylang support any function to return the correct permalink?
Constructing the url with pll_home_url() is out of question, as I need to support any kind of permalinks.Thank you for your answer,
Sonicelo
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Get correct permalink’ is closed to new replies.