public/wordpress/wp-content/plugins/wp-courseware/includes/admin/tables/table-subscriptions.php
/**
	 * Column Subscription Total.
	 *
	 * @since 4.3.0
	 *
	 * @param Subscription $subscription The subscription object.
	 *
	 * @return int
	 */
Column Subscription Total.

@param Subscription $subscription The subscription object.

@return int
Column Subscription Total . @param Subscription $subscription The subscription object . @return int
public function column_total( $subscription ) {
		$period = $subscription->get_period_name();
		$amount = $subscription->get_recurring_amount();
		if ( $subscription->is_installment_plan() ) {
			return $subscription->get_installment_plan_label();
		}
		return sprintf( '%s / %s', wpcw_price( $amount ), $period );
	}
public function column_total ( $ subscription ) { $ period = $ subscription -> get_period_name ( ) ; $ amount = $ subscription -> get_recurring_amount ( ) ; if ( $ subscription -> is_installment_plan ( ) ) { return $ subscription -> get_installment_plan_label ( ) ; } return sprintf ( '%s / %s' , wpcw_price ( $ amount ) , $ period ) ; }
Column Subscription Total.
Column Subscription Total .