関数
LoginWithAmazon::memberPageLogin()
Refresh login page on error. Redirect to member page on success
戻り値 戻り値
ファイル: src/API/LoginWithAmazon.php
public function memberPageLogin() { global $usces; $usces->error_message = $this->loginWithAmazonSignIn(); if (empty($usces->error_message)) { $usces->page = 'member'; /** * Mirrored Welcart action hook * * @ignore */ do_action('usces_action_member_logined'); add_filter('yoast-ga-push-after-pageview', 'usces_trackPageview_member'); } else { $usces->page = 'login'; add_filter('yoast-ga-push-after-pageview', 'usces_trackPageview_login'); } add_action('the_post', [$usces, 'action_memberFilter']); add_action('template_redirect', [$usces, 'template_redirect']); }