HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/dfwparty/members.bizcoach.biz/wp-content/themes/buddyboss-theme/lifterlms/course/author.php
<?php
/**
 * LifterLMS Course Author Info
 *
 * @since   3.0.0
 * @version 3.25.0
 */

defined( 'ABSPATH' ) || exit;

$course = llms_get_post( get_the_ID() );
if ( ! $course ) {
	return '';
}
$instructors = $course->get_instructors( true );
if ( ! $instructors ) {
	return '';
}
$count = count( $instructors );
?>

<section class="llms-instructor-info">
	<h3 class="llms-meta-title"><?php echo _n( 'Course Instructor', 'Course Instructors', count( $instructors ), 'buddyboss-theme' ); ?></h3>
	<div class="llms-instructors llms-cols">
		<?php foreach ( $instructors as $instructor ) : ?>
			<div class="llms-col-<?php echo $count <= 4 ? $count : 4; ?>">
				<?php
				echo buddyboss_theme()->lifterlms_helper()->bb_theme_llms_get_author(
					array(
						'avatar_size' => 100,
						'bio'         => true,
						'label'       => $instructor['label'],
						'user_id'     => $instructor['id'],
					)
				);
				?>
			</div>
		<?php endforeach; ?>
	</div>
</section>