Created Editing payment gateway icons with filters (markdown)

mikejolley 2011-12-02 15:09:42 -08:00
parent dc5cb3e96b
commit 873a03b2ee
1 changed files with 13 additions and 0 deletions

@ -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