Created
June 26, 2017 18:13
-
-
Save thomasplevy/55dafa0f5842386701c2f62cc7af4150 to your computer and use it in GitHub Desktop.
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
<?php // don't copy this to your functions.php | |
/** | |
* Output some custom HTML after the course syllabus | |
*/ | |
function my_after_course_summary_content() { | |
?> | |
<h2><?php _e( 'Want to learn more about this course?', 'my-text-domain' ); ?></h2> | |
<a class="my-awesome-button" href="#"><?php _e( 'Click Here', 'my-text-domain' ); ?></a> | |
<?php | |
} | |
add_action( 'lifterlms_single_course_after_summary', 'my_after_course_summary_content', 95 ); // 95 will display after the syllabus and before reviews |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment