kreamweb
1/13/2017 - 10:45 AM

INTEGRATION WITH YITH WooCommerce Affiliate

INTEGRATION WITH YITH WooCommerce Affiliate

<?php 

if( defined( 'YITH_WCAF' ) && ! function_exists( 'yith_wcaf_yraq_compatibility' ) ) {
	function yith_wcaf_yraq_compatibility() {
		add_action( 'ywraq_after_create_order', array( YITH_WCAF_Affiliate(), 'process_checkout_handling' ), 10, 1 );
	}

	add_action( 'init', 'yith_wcaf_yraq_compatibility', 11 );
}