hi we have purchased the Wplms woo-commerce plugin it was working good, but when we add this plugin in the front-end its appearing very big. we plan to shoe this option only into product. we need to hide the buttons in the course template. how can i hide that on front-end ?
@GlobalEduLink,
Could you please share the screenshot where you have issue.
Can you share a screenshot of this, we may give you a temporary fix for now and a permanent fix can be added in the plugin update.
hi, yeah sure https://snag.gy/e2jDBw.jpg
we need to hide the drop down option into the front-end. only its showing in the product page is enough.
Please try adding this given code in your wplms-customizer.php file in wplms customizer plugin :
add_action('init',function(){
if(!class_exists('Wplms_Woo_Front'))
return;
$obj =Wplms_Woo_Front::init();
remove_filter('wplms_course_credits',array($obj,'woocommerce_variable_form'),10,2);
remove_filter('wplms_course_partial_credits',array($obj,'woocommerce_variable_form_in_partial_course'),10,2);
remove_filter('wplms_expired_course_button',array($obj,'renew_form'),10,2);
});