I would like to ask how to add a custom fee to the woocommerce subscription recurring total?
Found this on the web:
function woo_add_cart_fee() {
global $woocommerce;
$woocommerce->cart->add_fee( __('Custom', 'woocommerce'), 5 );
}
add_action( 'woocommerce_cart_calculate_fees', 'woo_add_cart_fee' );
However that certain function is just for the regular product. NOT SUBSCRIPTION — it doesn't add the fee to the recurring totals.