mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Add signup link cache expiration for 3 months
This commit is contained in:
parent
f813cf451a
commit
0c5dfbc3e8
2 changed files with 4 additions and 3 deletions
|
@ -103,7 +103,7 @@ class OnboardingRenderer {
|
|||
$url = $is_production ? $this->production_partner_referrals->signup_link( $data ) : $this->sandbox_partner_referrals->signup_link( $data );
|
||||
$url = add_query_arg( $args, $url );
|
||||
|
||||
$this->cache->set( $environment . '-' . $product, $url );
|
||||
$this->cache->set( $environment . '-' . $product, $url, 3 * MONTH_IN_SECONDS );
|
||||
|
||||
return $url;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue