mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Load buttons component on pay now page
This commit is contained in:
parent
4187fbb93c
commit
fc05378dbb
1 changed files with 4 additions and 0 deletions
|
@ -840,6 +840,10 @@ class SmartButton implements SmartButtonInterface {
|
|||
) {
|
||||
$load_buttons = true;
|
||||
}
|
||||
if ( $this->context() === 'pay-now' ) {
|
||||
$load_buttons = true;
|
||||
}
|
||||
|
||||
return $load_buttons;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue