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
add_action('wp_logout','auto_redirect_external_after_logout'); | |
function auto_redirect_external_after_logout(){ | |
wp_redirect( 'https://www.growlearnteach.com' ); | |
exit(); | |
} |
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
[wpep_center] | |
[video width=“560” height=“315” mp4=“link-to-mp4” autoplay=“no”] | |
[/wpep_center] |
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 | |
return '<span class="dashicons dashicons-arrow-right-alt"></span> My Custom Text'; |
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
.wpep-wrapper .wpep-container .wpep-course-single.course-type-basic .course-primary-container .course-primary-content .content { | |
font-size: 18px; | |
} |
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
.wpep-widget-area .wpep-widget .wpep-widget-wrapper h2 { | |
font-size: 14px; | |
} |
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
.wpep-wrapper .wpep-container .wpep-course-single .course-primary-container .course-primary-content .course-header { | |
background: #ffffff; | |
} |
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
.wpep-wrapper .wpep-container .wpep-course-single .course-primary-container .course-primary-content .course-header { | |
background: #ffffff; | |
} |
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 | |
/* WPEP Assessment User Data | |
* The same concept for Settings as Key -> Value, will be used by WPEP, but different, to optimize data queries. | |
* This event does not trigger if the previous $value has not changed during a save. | |
* STRING $key <- the key, explained bellow | |
* STRING|INT $value <- the value, explained bellow | |
* INT $post_id <- the Assessment ID for which this data belongs ( always present ) | |
* INT $question_id <- the question id for which this data belongs ( sometimes available ) | |
* INT $question_answer_id <- the question answer id, for example checkbox / select / radio field types ( sometimes available ) |
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 | |
/* Course Lesson Completed | |
* $lesson_id <- Lesson ID, from the WPEP Lesson Table | |
* $is_completed <- true/false | |
* $user_id <- the User that has completed the lesson, this is also triggered if it's 0 | |
*/ | |
do_action( "wpep_user_activity_lesson_status", $lesson_id, $is_completed, $user_id ); | |
// How to Get The Course ID From the Lesson ID |
NewerOlder