apply_filters( 'mcs_paypal_form', $form, $price, $currency, $discount_rate, $discounts, $discount ) → {string}
Insert additional HTML after PayPal payment button.
Parameters:
Name | Type | Description |
---|---|---|
$form |
string | Additional HTMl inserted after inputs, inside form. |
$price |
float | Amount to submit to PayPal. |
$currency |
string | Currency tag. |
$discount_rate |
float | Any applied discount rate. |
$discounts |
array | Information about available discounts. |
$discount |
bool | Whether discount is active. |
- Source:
Returns:
- Type
- string