Add floating mode support
This commit is contained in:
@@ -33,7 +33,9 @@ final class LostPassword extends Location {
|
||||
#[Override]
|
||||
public function activate(): void
|
||||
{
|
||||
add_action('woocommerce_before_lost_password_form', [$this, 'header']);
|
||||
add_action('woocommerce_lostpassword_form', [$this, 'render']);
|
||||
add_action('woocommerce_after_lost_password_form', [$this, 'footer']);
|
||||
if (isset($_POST['woocommerce-lost-password-nonce'])) {
|
||||
add_action('lostpassword_post', [$this, 'process_form']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user