<?php
if (strpos ($_SERVER["REQUEST_URI"], "wp-login.php") !== false && $_GET["action"] === "register")
{
header ("Location: http://www.example.com/my-registration-page/"); exit ();
}
?>
Also, for the registration fields what are the name="" info for each of the required info as well as custom fields?
ws_plugin__s2member_custom_reg_field_first_name
ws_plugin__s2member_custom_reg_field_last_name
ws_plugin__s2member_custom_reg_field_{your custom registration field id}
( ex: ws_plugin__s2member_custom_reg_field_country_code )
Statistics: Posted by Jason Caldwell — April 7th, 2011, 7:55 pm
Statistics: Posted by hardline — April 6th, 2011, 10:06 am
Statistics: Posted by Jason Caldwell — March 31st, 2011, 6:24 am
Statistics: Posted by Cristián Lávaque — March 29th, 2011, 11:13 pm
Warning: Cannot modify header information - headers already sent by (output started at /hermes/.../mac/wp-content/mu-plugins/s2-hacks.php:1) in /hermes/.../mac/wp-content/mu-plugins/s2-hacks.php on line 3
add_action('init','tmm_redirect');
function tmm_redirect() {
global $pagenow;
if( 'wp-login.php' == $pagenow && $_GET["action"] === "register") {
wp_redirect('http://www.example.com/my-registration-page/');
exit();
}
}
Statistics: Posted by dwdutch — March 29th, 2011, 10:38 pm
<?php
if(strpos($_SERVER["REQUEST_URI"], "wp-login.php") !== false && $_GET["action"] === "register"){
header("Location: http://www.example.com/my-registration-page/"); exit();
}
?>
Statistics: Posted by Jason Caldwell — March 6th, 2011, 8:45 am
Statistics: Posted by dwdutch — February 21st, 2011, 12:22 am