Support » Plugin: Social Connect » How to redirect to a certain page after connecting

  • Resolved watchersnplayers

    (@watchersnplayers)


    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

Viewing 1 replies (of 1 total)
  • Plugin Author thenbrent

    (@thenbrent)

    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' );
Viewing 1 replies (of 1 total)
  • The topic ‘How to redirect to a certain page after connecting’ is closed to new replies.