From 873a03b2ee971f4034b91a1a41dabc82196e5b2d Mon Sep 17 00:00:00 2001 From: mikejolley Date: Fri, 2 Dec 2011 15:09:42 -0800 Subject: [PATCH] Created Editing payment gateway icons with filters (markdown) --- Editing-payment-gateway-icons-with-filters.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Editing-payment-gateway-icons-with-filters.md diff --git a/Editing-payment-gateway-icons-with-filters.md b/Editing-payment-gateway-icons-with-filters.md new file mode 100644 index 0000000..e639120 --- /dev/null +++ b/Editing-payment-gateway-icons-with-filters.md @@ -0,0 +1,13 @@ +# PayPal Standard + +`add_filter('woocommerce_paypal_icon', 'custom_woocommerce_paypal_icon') + +function custom_woocommerce_paypal_icon( $url ) { + $url = 'http://yoursite,com/youriconurl.png'; + return $url; +}` + +# Hooks for other gateways + +* woocommerce_cheque_icon +* woocommerce_bacs_icon \ No newline at end of file