WP Simple Pay: Localize Recurring Dates

add_filter( ‘simpay_payment_confirmation_template_tag_charge-date’, function( $value ) { return date_i18n( get_option( ‘date_format’ ), strtotime( $value ) ); }, 20 ); add_filter( ‘simpay_payment_confirmation_template_tag_next-invoice-date’, function( $value ) { return date_i18n( get_option( ‘date_format’ ), strtotime( $value ) ); }, 20 );Continue reading