public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/functions.php
/**
 * Function to get all of the course details.
 *
 * @since 1.0.0
 *
 * @param integer $courseID The ID of the course for which we want to get details.
 *
 * @return \WPCW\Models\Course|bool The course object or false if it doesn't exist.
 */
Function to get all of the course details.

@param integer $courseID The ID of the course for which we want to get details.

@return \WPCW\Models\Course|bool The course object or false if it doesn't exist.
Function to get all of the course details . @param integer $courseID The ID of the course for which we want to get details . @return \ WPCW \ Models \ Course|bool The course object or false if it doesn ' t exist .
function WPCW_courses_getCourseDetails( $courseID ) {
	if ( ! $courseID ) {
		return false;
	}
	$course = wpcw_get_course( absint( $courseID ) );
	return ( $course && $course->exists() ) ? $course : false;
}
function WPCW_courses_getCourseDetails ( $ courseID ) { if ( ! $ courseID ) { return false ; } $ course = wpcw_get_course ( absint ( $ courseID ) ) ; return ( $ course && $ course -> exists ( ) ) ? $ course : false ; }
Function to get all of the course details.
Function to get all of the course details .