Closed doup closed 11 years ago
This adds a new argument to ::get_buy_button() so that we can have localized buttons. Just pass a 'locale' argument:
$button = $paypalPurchase->get_buy_button(array('locale' => 'fr_FR')); echo $paypalPurchase->print_buy_button(array('locale' => 'es_ES'));
@doup nice one thanks!
This adds a new argument to ::get_buy_button() so that we can have localized buttons. Just pass a 'locale' argument: