Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cod_gateway_icon( $gateways ) {
- if ( isset( $gateways['cheque'] ) ) {
- $gateways['cheque']->icon = get_stylesheet_directory_uri() . '/images/mb.png';
- }
- return $gateways;
- }
- add_filter( 'woocommerce_available_payment_gateways', 'cod_gateway_icon' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement