WordPress LMS for Web and mobile Forums Ionic App Support Buy from site not working Reply To: Buy from site not working

Reply To: Buy from site not working

WordPress LMS for Web and mobile Forums Ionic App Support Buy from site not working Reply To: Buy from site not working

#10019

admin
Member
This change will be done in api call . Please try adding this url custom code in your wplms-customizer.php file in wplms customizer plugin : add_filter('bp_course_rest_prepare_course',function($response, $course, $request){   if(!empty($response->data['course']['price_html']) && is_array($response->data['course']['price_html'])){     foreach ($response->data['course']['price_html'] as $key => $value) {       $response->data['course']['price_html'][$key]['link'] =  'http://google.com';     }   }else{     $response->data['course']['price_html']['link'] ='http://google.com';   }   return $response;   },10,3);     change the "http://google.com" to your custom link in above code .
Moved Permanently.