where to add filter
-
Hi,
I would like to remove the Payment Request button at the product page but add it at the checkout page, I read the documentation and see the following answer. My question is, where do I actually add this filter? Thanks!
Can I hide the Payment Request button on the single Product page?
You can remove the Payment Request button from the Product page with this filter: add_filter( ‘wc_stripe_hide_payment_request_on_product_page’, ‘__return_true’ );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘where to add filter’ is closed to new replies.