Created
March 26, 2020 10:23
-
-
Save hedqvist/e49ad13cecd20bf09128a943b7515ec5 to your computer and use it in GitHub Desktop.
Fortnox - Dont sync customers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @snippet WooCommerce - Fortnox - Dont sync customers, ever | |
* @author Redlight Media AB / Christopher Hedqvist | |
* @compatible WooCommerce 3.8.0 | |
*/ | |
add_filter( 'obj_fortnox_sync_guest_user', '__return_false' ); | |
add_filter( 'obj_fortnox_sync_user', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment