• Resolved argeee

    (@argeee)


    Hi Jeff,
    I would like for the user to be redirected to a different page when they want to register instead of the register-form.php.

    Is there any way for me to substitute the url on the “Register” link?

    Thanks in advance and congrats on the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Create the file wp-content/plugins/theme-my-login-custom.php if you haven’t already. Then, add the following to it:

    <?php function tml_action_url_filter( $url, $action, $instance ) {
    	if ( 'register' == $action )
    		return 'https://www.www.ads-software.com';
    }
    add_filter( 'tml_action_url', 'tml_action_url_filter', 10, 3 ); ?>

    Of course, replace https://www.www.ads-software.com with your new URL.

    Thread Starter argeee

    (@argeee)

    Thanks Jeff. Worked like a charm.

    PS Sorry for taking so long to reply

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Theme My Login] Use different form for registration’ is closed to new replies.