Getting a page in the current language
-
Hi,
I’m developing a plugin. This plugin set a page id in the options and I’m getting it with:
get_permalink( $options['my-plugin-page'] )
is there a way to get that page with polylang in the language the user is viewing the site?
Thanks,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Getting a page in the current language’ is closed to new replies.