__( 'Customer', 'woocommerce-subscriptions' ), 'plural' => __( 'Customers', 'woocommerce-subscriptions' ), 'ajax' => false, ) ); } /** * No subscription products found text. */ public function no_items() { esc_html_e( 'No customers found.', 'woocommerce-subscriptions' ); } /** * Output the report. */ public function output_report() { $this->prepare_items(); echo '
' . esc_html__( 'Total Subscribers', 'woocommerce-subscriptions' ) . ' : ' . esc_html( $this->totals->total_customers ) . '
';
echo ' ' . esc_html__( 'Active Subscriptions', 'woocommerce-subscriptions' ) . ' : ' . esc_html( $this->totals->active_subscriptions ) . '
';
echo ' ' . esc_html__( 'Total Subscriptions', 'woocommerce-subscriptions' ) . ' : ' . esc_html( $this->totals->total_subscriptions ) . '
';
echo ' ' . esc_html__( 'Total Subscription Orders', 'woocommerce-subscriptions' ) . ' : ' . esc_html( $this->totals->initial_order_count + $this->totals->renewal_switch_count ) . '
';
echo ' ' . esc_html__( 'Average Lifetime Value', 'woocommerce-subscriptions' ) . ' : ' . wp_kses_post( wc_price( ( $this->totals->initial_order_total + $this->totals->renewal_switch_total ) / $this->totals->total_customers ) ) . '