Checkout::get_registration_url()
Get the registration URL.
Return
(string)
Source
File: src/Tickets/Commerce/Checkout.php
public function get_registration_url() {
$registration_url = wp_registration_url();
$registration_url = add_query_arg( 'redirect_to', $this->get_url(), $registration_url );
/**
* Provides an opportunity to modify the registration URL used within frontend
* checkout (typically when they need to login before they can proceed).
*
* @since 5.1.9
*
* @param string $login_url
*/
return apply_filters( 'tec_tickets_commerce_checkout_registration_url', $registration_url );
}
Changelog
| Version | Description |
|---|---|
| 5.1.9 | Introduced. |