add_action("init", "register_level");
function register_level(){
if($_GET["register_level"]){
$link = ws_plugin__s2member_register_link_gen ("-", $_SERVER["HTTP_HOST"], "4:1D", false);
wp_redirect($link);
exit;
}
}
http://localhost/wordpress/?register_level=4
Statistics: Posted by stowe39 — February 15th, 2011, 5:15 am
Statistics: Posted by x3000gold — December 12th, 2010, 3:37 pm
Statistics: Posted by SantiAzpi — November 30th, 2010, 6:14 am
Statistics: Posted by x3000gold — November 30th, 2010, 4:28 am
Statistics: Posted by jhg03 — October 5th, 2010, 2:52 pm
add_action("init", "register_level");
function register_level(){
if($_GET["register_level"]){
$link = ws_plugin__s2member_register_link_gen ("-", $_SERVER["HTTP_HOST"], $_GET["register_level"], false);
wp_redirect($link);
exit;
}
}
http://example.com/?register_level=1
http://example.com/?register_level=2
http://example.com/?register_level=3
http://example.com/?register_level=4
Statistics: Posted by Jason Caldwell — October 2nd, 2010, 12:11 pm
$link = ws_plugin__s2member_register_link_gen
($subscr_id, $custom, $item_number, $shrink);
Statistics: Posted by Jason Caldwell — October 2nd, 2010, 12:11 pm