Created
December 6, 2017 18:50
-
-
Save danielbitzer/2da4bc910ce409c593fd376fed5bc14e to your computer and use it in GitHub Desktop.
AutomateWoo - Include custom order statuses in the customer last order date calculation, this applies to the customer win back trigger
This file contains hidden or 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 | |
add_filter( 'automatewoo/customer/last_order_date_statuses', function( $statuses ){ | |
$statuses[] = 'my-custom-status'; | |
return $statuses; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment