public/wordpress/wp-content/plugins/wp-courseware/includes/controllers/orders.php
/**
	 * Display Order Item Subscription Renewal Message.
	 *
	 * @since 4.3.0
	 *
	 * @param string $$order_item_title The order item title.
	 * @param Order_Item $order_item The order item object.
	 *
	 * @return string The course subscription renewal message.
	 */
Display Order Item Subscription Renewal Message.

@param string $$order_item_title The order item title.
@param Order_Item $order_item The order item object.

@return string The course subscription renewal message.
Display Order Item Subscription Renewal Message . @param string $$order_item_title The order item title . @param Order_Item $order_item The order item object . @return string The course subscription renewal message .
public function display_order_item_subscription_renewal_message( $order_item_title, $order_item ) {
		$course = $order_item->get_course();
		if ( ! $course || ! $course->is_purchasable() || ! $course->is_subscription() || ( $course->is_subscription() && $course->charge_installments() ) ) {
			return $order_item_title;
		}
		$order_item_title .= "\n" . sprintf( __( '<p><em>Billed %s until cancelled.</em></p>', 'wp-courseware' ), strtolower( $course->get_subscription_interval() ) );
		return $order_item_title;
	}
public function display_order_item_subscription_renewal_message ( $ order_item_title , $ order_item ) { $ course = $ order_item -> get_course ( ) ; if ( ! $ course || ! $ course -> is_purchasable ( ) || ! $ course -> is_subscription ( ) || ( $ course -> is_subscription ( ) && $ course -> charge_installments ( ) ) ) { return $ order_item_title ; } $ order_item_title .= " \n " . sprintf ( __ ( '<p><em>Billed %s until cancelled.</em></p>' , 'wp-courseware' ) , strtolower ( $ course -> get_subscription_interval ( ) ) ) ; return $ order_item_title ; }
Display Order Item Subscription Renewal Message.
Display Order Item Subscription Renewal Message .