|Posted: Saturday Oct 6th, 2012 at 6:25 pm #27678|
I need to insert a dynamic “/language” string in the Membership Options Page URL. I already got the dynamic variable in a global scope, just need a hook to modify the default “saved url” in the s2m backend.
Hopefully place the filter in functions.php. (?)
The default url is like
Is there a filter for this like this ??
so I can use a str_replace(curr_lang, new_lang, S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL)
Hook me up!
PS Using WPML btw. But the option page falls strict to the s2m settings – default lang
- s2Member® Products