public function __construct() { if (is_user_logged_in()) { wp_redirect(wpsc_get_store_url()); exit; } parent::__construct(); $this->title = wpsc_get_register_title(); }
function wpsc_register_title() { echo wpsc_get_register_title(); }