WP Simple Pay: Custom Subscription Price Option Labels
/** * @link https://library.wpcode.com/snippet/e5009459/ */ add_filter( ‘simpay_plan_name_label’, /** * @param string $label Plan label. * @param \Stripe\Plan $plan Stripe Plan. * @return string */ function( $label, $plan ) { return sprintf( ‘%1$s %2$s %3$s every %4$s %5$s(s)’, $plan->name, simpay_format_currency( simpay_convert_amount_to_dollars(…Continue reading