testbot
10-24-2009, 02:50 PM
i can't seem to get this to work in a plugin:
hook: register_activate_process
$my_msg = "something";
$vbphrase['activate_wrongusergroup'] = $my_msg;
or
$vbphrase['activate_wrongusergroup'] = $construct_phrase($my_msg);
i want to replace that phrase that already exists with something else based on a condition.
hook: register_activate_process
$my_msg = "something";
$vbphrase['activate_wrongusergroup'] = $my_msg;
or
$vbphrase['activate_wrongusergroup'] = $construct_phrase($my_msg);
i want to replace that phrase that already exists with something else based on a condition.