public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/userprogress.php
/**
		 * Quick function to check if the specified Unit has been completed by the user.
		 *
		 * @param Integer $unitID The ID of the unit that's being checked.
		 * @param Boolean True if the unit has been completed, false otherwise.
		 */
Quick function to check if the specified Unit has been completed by the user.
@param Integer $unitID The ID of the unit that's being checked.
@param Boolean True if the unit has been completed, false otherwise.
Quick function to check if the specified Unit has been completed by the user . @param Integer $unitID The ID of the unit that ' s being checked . @param Boolean True if the unit has been completed false otherwise .
public function isUnitCompleted( $unitID ) {
			if ( $unitID < 1 ) {
				return false;
			}
			$this->loadUserUnitProgress();
			return ( isset( $this->unitListProgress[ $unitID ] ) );
		}
public function isUnitCompleted ( $ unitID ) { if ( $ unitID < 1 ) { return false ; } $ this -> loadUserUnitProgress ( ) ; return ( isset ( $ this -> unitListProgress [ $ unitID ] ) ) ; }
Quick function to check if the specified Unit has been completed by the user.
Quick function to check if the specified Unit has been completed by the user .
// Simply check if ID is in list of progress items.