latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

redirect to page after save button in profile

Home Forums Community Forum redirect to page after save button in profile

This topic contains 3 replies, has 2 voices. Last updated by  Bruce 3 years, 5 months ago.

Topic Author Topic
Posted: Wednesday Aug 7th, 2013 at 12:22 am #55339
Mike Waller
Username: seozones

Hi there. I’m using the s2member profile shortcode that locks down the wp-admin from subscribers. However, after the user clicks Save All Changes on the profile page, I need to redirect them to another page after the data is saved so this should be automatic. Any idea how this can be accomplished?

I do know where the profile page is inside the s2member plugin (sc-profile-in.inc.php) but what should I edit to make this work?

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Wednesday Aug 7th, 2013 at 7:19 pm #55374
Mike Waller
Username: seozones

any thoughts?

Posted: Wednesday Aug 7th, 2013 at 7:50 pm #55379
Mike Waller
Username: seozones

I figured it out, thanks.

Posted: Thursday Aug 8th, 2013 at 4:45 am #55403
Bruce
Username: Bruce
Staff Member

Sorry about the delay.

For anyone else wondering about how to accomplish this, you could use this hook:

ws_plugin__s2member_during_profile_before_table

And check to see if this global variable is set:

$GLOBALS["ws_plugin__s2member_profile_saved"]

See: Knowledge Base » Hacking s2Member® Via Hooks/Filters

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.