WordPress.org

Ready to get started?Download WordPress

Forums

Social Connect
[resolved] How to redirect to a certain page after connecting (2 posts)

  1. watchersnplayers
    Member
    Posted 3 years ago #

    social-connect - plugin

    How to redirect to a certain page after connecting i don't want my users to go on the dashboard after logging in.

    please help me

  2. thenbrent
    Member
    Plugin Author

    Posted 3 years ago #

    When using versions 0.8 and newer (not yet released, but due for release soon) you can use the following function in your themes functions.php file or anywhere else you can run custom code:

    function my_social_connect_redirect_function( $redirect_to ){
    	return 'http://example.com/url/you/want/to/redirecto/to/';
    }
    add_filter( 'social_connect_redirect_to', 'my_social_connect_redirect_function' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic