Statistics: Posted by Jason Caldwell — August 30th, 2010, 1:44 pm
Statistics: Posted by martonic — August 30th, 2010, 12:41 am
$id = wp_create_user(login, pass, email)
wp_new_user_notification($id, pass)
Statistics: Posted by Jason Caldwell — August 29th, 2010, 11:45 pm
Statistics: Posted by martonic — August 24th, 2010, 6:57 pm
add_action("init", "redirect_registrations");
function redirect_registrations() {
if(preg_match("/wp-login\.php/", $_SERVER["REQUEST_URI"])
&& $_GET["action"] === "register" && $_GET["register"] !== "1")
{ header("Location: /bg-register.php"); exit(); }
&& $_GET["register"] !== "1"
action="/wp-login.php?action=register®ister=1"
<?php
echo '<input type="hidden" name="ws_plugin__s2member_registration" value="' . esc_attr (wp_create_nonce ("ws-plugin--s2member-registration")) . '" />' . "\n";
?>
Statistics: Posted by martonic — August 23rd, 2010, 5:00 pm
or better, make it point to my Custom Registration Page?
<?php
add_action("init", "redirect_registrations"); function redirect_registrations()
{
if(preg_match("/wp-login\.php/", $_SERVER["REQUEST_URI"])
&& $_GET["action"] === "register")
{ header("Location: [YOUR CUSTOM URL HERE]"); exit(); }
}
?>
Statistics: Posted by martonic — August 23rd, 2010, 3:36 pm
<?php
add_action("init", "redirect_registrations"); function redirect_registrations()
{
if(preg_match("/wp-login\.php/", $_SERVER["REQUEST_URI"])
&& $_GET["action"] === "register")
{ header("Location: [YOUR CUSTOM URL HERE]"); exit(); }
}
add_action("init", "redirect_lostpassword"); function redirect_lostpassword()
{
if(preg_match("/wp-login\.php/", $_SERVER["REQUEST_URI"])
&& $_GET["action"] === "lostpassword")
{ header("Location: [YOUR CUSTOM URL HERE]"); exit(); }
}
?>
Statistics: Posted by Guest — August 12th, 2010, 2:14 am
Statistics: Posted by martonic — August 10th, 2010, 12:11 pm
or better, make it point to my Custom Registration Page?
<?php
add_action("init", "redirect_registrations"); function redirect_registrations()
{
if(preg_match("/wp-login\.php/", $_SERVER["REQUEST_URI"])
&& $_GET["action"] === "register")
{ header("Location: [YOUR CUSTOM URL HERE]"); exit(); }
}
?>
Statistics: Posted by Jason Caldwell — August 5th, 2010, 1:46 pm
Statistics: Posted by martonic — August 3rd, 2010, 1:51 pm
Statistics: Posted by Guest — July 31st, 2010, 2:41 am
but, I want to protect my backend
Statistics: Posted by Jason Caldwell — July 28th, 2010, 7:06 am
Statistics: Posted by Guest — July 25th, 2010, 3:46 am