Home › Forums › WoodMart support forum › Undefined function woodmart_is_woo_ajax() › Reply To: Undefined function woodmart_is_woo_ajax()
April 26, 2021 at 5:44 pm
#286868
metuza
Participant
Hello,
No not easy to find what makes it happend, tried using logging but still not easy. So i replaced your code with the below and that seems to fixed it:
if ( function_exists( 'woodmart_is_woo_ajax' ) && woodmart_is_woo_ajax() ) {
do_action( 'woodmart_main_loop' );
die();
}
And i have not noticed any problems because of that.
Brgds
Rune