Product page button hooks
pp_checkout_product_page_button_hide
Type:
filter
Arguments:
boolean = false
Description: Filter if the product page button should not display on the page. The product page button will never display with
external
product types or if the button is disabled in the PeachPay settings.
pp_checkout_before_product_page_button_html
Type:
action
Description: Use this to output your own custom markup before the product page button is echoed.
pp_checkout_product_page_button_args
Type:
filter
Arguments:
Array
Description: Use this to filter the product page button arguments and customize the product page button beyond what the PeachPay settings allow by default.
pp_checkout_after_product_page_button_html
Type:
action
Description: Use this to output your own custom markup after the product page button is echoed.
Cart page button hooks
pp_checkout_cart_page_button_hide
Type:
filter
Arguments:
boolean = false
Description: Filter if the cart page button should not display on the page. The button will never show if the cart page button is disabled in the PeachPay settings.
pp_checkout_before_cart_page_button_html
Type:
action
Description: Use this to output your own custom markup before the cart page button is echoed.
pp_checkout_cart_page_button_args
Type:
filter
Arguments:
Array
Description: Use this to filter the cart page button arguments and customize the cart page button beyond what the PeachPay settings allow by default.
pp_checkout_after_cart_page_button_html
Type:
action
Description: Use this to output your own custom markup after the cart page button is echoed.
Checkout Page button hooks
pp_checkout_checkout_page_button_hide
Type:
filter
Arguments:
boolean = false
Description: Filter if the checkout page button should not display on the page. The button will never show if the checkout page button is disabled in the PeachPay settings.
pp_checkout_before_checkout_page_button_html
Type:
action
Description: Use this to output your own custom markup before the checkout page button is echoed.
pp_checkout_checkout_page_button_args
Type:
filter
Arguments:
Array
Description: Use this to filter the checkout page button arguments and customize the checkout page button beyond what the PeachPay settings allow by default.
pp_checkout_after_checkout_page_button_html
Type:
action
Description: Use this to output your own custom markup after the checkout page button is echoed.
Mini cart button hooks
pp_checkout_mini_cart_button_hide
Type:
filter
Arguments:
boolean = false
Description: Filter if the mini cart button should not display on the page. The button will never show if the mini cart button is disabled in the PeachPay settings.
pp_checkout_before_mini_cart_button_html
Type:
action
Description: Use this to output your own custom markup before the mini cart button is echoed.
pp_checkout_mini_cart_button_args
Type:
filter
Arguments:
Array
Description: Use this to filter the mini-cart button arguments and customize the mini-cart button beyond what the PeachPay settings allow by default.
pp_checkout_after_mini_cart_button_html
Type:
action
Description: Use this to output your own custom markup after the mini cart button is echoed.
Floating button hooks
pp_checkout_floating_button_hide
Type:
filter
Arguments:
boolean = false
Description: Filter if the floating button should not display on the page. The button will never show if the cart is empty or the floating button is disabled in the PeachPay settings.
pp_checkout_floating_button_args
Type:
filter
Arguments:
Array
Description: Use this to filter the floating button arguments and customize the floating button beyond what the PeachPay settings allow by default.