Skip to content

Instantly share code, notes, and snippets.

@hedqvist
Created March 26, 2020 10:23
Show Gist options
  • Save hedqvist/e49ad13cecd20bf09128a943b7515ec5 to your computer and use it in GitHub Desktop.
Save hedqvist/e49ad13cecd20bf09128a943b7515ec5 to your computer and use it in GitHub Desktop.
Fortnox - Dont sync customers
<?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