-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
640c512
commit 8ab1f0e
Showing
9 changed files
with
80 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 10 additions & 7 deletions
17
inc/labs/inc/beaver-builder/modules/course-author/includes/frontend.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
<?php | ||
/** | ||
* LifterLMS Course Author Module HTML | ||
* LifterLMS Course Author Module HTML. | ||
* | ||
* @since 1.3.0 | ||
* @version 1.3.0 | ||
* @package LifterLMS_Labs/Labs/BeaverBuilder/Modules/CourseAuthor/Templates | ||
* | ||
* @since 1.3.0 | ||
* @since [version] Escaped attributes. | ||
* @version [version] | ||
* | ||
* @param $settings obj Beaver Builder module settings instance. | ||
*/ | ||
|
||
// Restrict direct access | ||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; } | ||
defined( 'ABSPATH' ) || exit; | ||
|
||
$course_id = ! empty( $settings->llms_course_id ) ? $settings->llms_course_id : get_the_ID(); | ||
?> | ||
|
||
<div class="llms-lab-course-author"> | ||
[lifterlms_course_author avatar_size="<?php echo $settings->llms_avatar_size; ?>" bio="<?php echo $settings->llms_show_bio; ?>" course_id="<?php echo $course_id; ?>"] | ||
[lifterlms_course_author avatar_size="<?php echo esc_attr( $settings->llms_avatar_size ); ?>" bio="<?php echo esc_attr( $settings->llms_show_bio ); ?>" course_id="<?php echo esc_attr( $course_id ); ?>"] | ||
</div> |
17 changes: 10 additions & 7 deletions
17
inc/labs/inc/beaver-builder/modules/course-continue-button/includes/frontend.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
<?php | ||
/** | ||
* LifterLMS Course Continue Button Module HTML | ||
* LifterLMS Course Continue Button Module HTML. | ||
* | ||
* @since 1.3.0 | ||
* @version 1.3.0 | ||
* @package LifterLMS_Labs/Labs/BeaverBuilder/Modules/CourseContinueButton/Templates | ||
* | ||
* @since 1.3.0 | ||
* @since [version] Escaped attributes. | ||
* @version [version] | ||
* | ||
* @param $settings obj Beaver Builder module settings instance. | ||
*/ | ||
|
||
// Restrict direct access | ||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; } | ||
defined( 'ABSPATH' ) || exit; | ||
|
||
$course_id = ! empty( $settings->llms_course_id ) ? $settings->llms_course_id : get_the_ID(); | ||
?> | ||
|
||
<div class="llms-lab-course-continue-button"> | ||
[lifterlms_course_continue_button course_id="<?php echo $course_id; ?>"] | ||
[lifterlms_course_continue_button course_id="<?php echo esc_attr( $course_id ); ?>"] | ||
</div> |
17 changes: 10 additions & 7 deletions
17
inc/labs/inc/beaver-builder/modules/course-meta-info/includes/frontend.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
<?php | ||
/** | ||
* LifterLMS Course Meta Info Module HTML | ||
* LifterLMS Course Meta Info Module HTML. | ||
* | ||
* @since 1.3.0 | ||
* @version 1.3.0 | ||
* @package LifterLMS_Labs/Labs/BeaverBuilder/Modules/CourseMetaInfo/Templates | ||
* | ||
* @since 1.3.0 | ||
* @since [version] Escaped attributes. | ||
* @version [version] | ||
* | ||
* @param $settings obj Beaver Builder module settings instance. | ||
*/ | ||
|
||
// Restrict direct access | ||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; } | ||
defined( 'ABSPATH' ) || exit; | ||
|
||
$course_id = ! empty( $settings->llms_course_id ) ? $settings->llms_course_id : get_the_ID(); | ||
?> | ||
|
||
<div class="llms-lab-course-meta-info"> | ||
[lifterlms_course_meta_info course_id="<?php echo $course_id; ?>"] | ||
[lifterlms_course_meta_info course_id="<?php echo esc_attr( $course_id ); ?>"] | ||
</div> |
16 changes: 9 additions & 7 deletions
16
inc/labs/inc/beaver-builder/modules/course-progress-bar/includes/frontend.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 9 additions & 7 deletions
16
inc/labs/inc/beaver-builder/modules/course-syllabus/includes/frontend.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters