public/wordpress/wp-content/plugins/wp-courseware/includes/controllers/subscriptions.php
/**
	 * Check Cart Needs Payment for Zero Based Subscriptions.
	 *
	 * @since 4.5.0
	 *
	 * @param bool $needs_payment If the cart needs payment.
	 * @param Cart $cart The cart controller.
	 *
	 * @return bool True if cart needs payment.
	 */
Check Cart Needs Payment for Zero Based Subscriptions.

@param bool $needs_payment If the cart needs payment.
@param Cart $cart The cart controller.

@return bool True if cart needs payment.
Check Cart Needs Payment for Zero Based Subscriptions . @param bool $needs_payment If the cart needs payment . @param Cart $cart The cart controller . @return bool True if cart needs payment .
public function check_cart_needs_payment_for_zero_based_subscriptions( $needs_payment, $cart ) {
		if ( ( false === (bool) $needs_payment ) && $this->cart_contains_subscription() && ( 0 === absint( $cart->get_total() ) ) ) {
			$needs_payment = true;
		}
		return $needs_payment;
	}
public function check_cart_needs_payment_for_zero_based_subscriptions ( $ needs_payment , $ cart ) { if ( ( false === ( bool ) $ needs_payment ) && $ this -> cart_contains_subscription ( ) && ( 0 === absint ( $ cart -> get_total ( ) ) ) ) { $ needs_payment = true ; } return $ needs_payment ; }
Check Cart Needs Payment for Zero Based Subscriptions.
Check Cart Needs Payment for Zero Based Subscriptions .