Hi @jean-michel-ferrard,
You can use the following code to hide de renew button for a certain plan:
add_filter( ‘pms_output_subscription_plan_action_renewal’, ‘pmsc_remove_renew_from_plan’, 20, 2 );
function pmsc_remove_renew_from_plan( $output, $subscription_plan ){
if( $subscription_plan->id == ‘IDplan’ )
return ”;
return $output;
}
For ID plan you go to PMS-> Subscriptions plan-> ID.
You can use this code by adding it to your theme’s ‘functions.php’ file or by creating a new plugin as described here.
Kind regards,
Madalina Ruzsa
Cozmoslabs