Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * WooCommerce - Klarna payment gateway
- * Filter Create order for disabling autofocus of email field.
- **/
- // New order ($create)
- add_action('kco_create_order', 'my_kco_create_order');
- function my_kco_create_order( $create ) {
- $create['gui']['options'] = array('disable_autofocus');
- return $create;
- }
Add Comment
Please, Sign In to add comment