| 1 |
<?php |
| 2 |
/** |
| 3 |
* Verified page template |
| 4 |
* |
| 5 |
* @package Welcart |
| 6 |
*/ |
| 7 |
|
| 8 |
$member_compmode = $this->page; |
| 9 |
|
| 10 |
$html = '<div id="memberpages"> |
| 11 |
|
| 12 |
<div class="post">'; |
| 13 |
|
| 14 |
$html .= '<div class="header_explanation">'; |
| 15 |
$header = ''; |
| 16 |
$html .= apply_filters( 'usces_filter_memberverified_page_header', $header ); |
| 17 |
$html .= '</div>'; |
| 18 |
|
| 19 |
$html .= '<h2>' . esc_html__( 'Member registration complete', 'usces' ) . '</h2>'; |
| 20 |
$html .= '<p>' . esc_html__( 'Member registration is complete. Click "Continue shopping" to continue shopping.', 'usces' ) . '</p>'; |
| 21 |
|
| 22 |
$html .= '<div class="footer_explanation">'; |
| 23 |
$footer = ''; |
| 24 |
$html .= apply_filters( 'usces_filter_memberverified_page_footer', $footer ); |
| 25 |
$html .= '</div>'; |
| 26 |
|
| 27 |
$redirect_to = add_query_arg( |
| 28 |
array( |
| 29 |
'usces_page' => 'delivery', |
| 30 |
), |
| 31 |
USCES_CART_URL |
| 32 |
); |
| 33 |
$continue_to = add_query_arg( |
| 34 |
array( |
| 35 |
'redirect_to' => urlencode( $redirect_to ), |
| 36 |
), |
| 37 |
USCES_LOGIN_URL |
| 38 |
); |
| 39 |
|
| 40 |
$html .= '<div><a class="welcart-btn orange" href="' . $continue_to . '" />' . esc_html__( 'Continue shopping', 'usces' ) . '</a></div> '; |
| 41 |
$html .= '<div class="send"><a href="' . home_url() . '" class="back_to_top_button">' . esc_html__( 'Back to the top page.', 'usces' ) . '</a></div>'; |
| 42 |
$html .= '</div> |
| 43 |
|
| 44 |
</div>'; |
| 45 |
|