WPLMS | Hooks
WPLMS theme is very useful learning management for WordPress users. Here WP users can create online course for students.
wplms_validate_certificate : Runs for certificate validation. Accepts two arguments : User ID and Course ID
wplms_certificate_before_full_content : Runs before any content on default certificate
wplms_certificate_extra_buttons : Runs where buttons for print is executed
wplms_certificate_before_name : Runs on default certificate template before name.
wplms_certificate_after_name : Runs on default certificate template after name
wplms_certificate_after_content : Runs after certificate content has been executed for default certificate template
wplms_certificate_after_full_content : Runs after all certificate is executed.
bp_before_course_loop : Runs before any Course loop begins
bp_before_directory_course_list : Runs on Course directory, Course Category taoxnomy, Instructor courses, Levels taxonomy pages, before the course list.
bp_directory_course_item : Runs before every course item is listed in the directory or course loop
bp_after_directory_course_list : Runs after course directory has been listed
bp_after_course_loop : Runs after course loop
bp_after_directory_course : Runs after curse directory. Also runs on Instructor courses page
bp_after_directory_course_page : Runs at the end of course directory page
bp_before_course_header : Runs before single course page : course header (left column) is displayed
bp_before_course_header_meta : Runs before meta information for current course in single course
bp_course_header_actions : Displays header actions, like instructor message/email on single course page
bp_course_header_meta : Displays course header meta information like star rating, reviews for course
bp_after_course_header : Runs after course header is displayed
wplms_course_curriculum_section : Runs before Course curriculum is displayed
wplms_course_before_front_main : Runs before Course page content is displayed in single course.
wplms_before_course_description : Runs before course description is displayed
wplms_after_course_description : After course description
wplms_course_stats_panel : Runs before calculate stats icon is displayed in stats section of course admin
wplms_before_create_course_header : Runs before Front end course creation template : create_Content is displayed.
wplms_before_create_course_page : Runs before Course creation page is displayed
wplms_front_end_pricing_content : Runs in pricing section of Course creation
wplms_after_create_course_page : Runs after create course page
wplms_header_top_login : Runs in header.php after login/register is displayed
wplms_customizer_custom_css : Runs in Customizer generate CSS function. Accepts the argument $themecustomizer which is an array containing all the settings in the theme customizer.
bp_before_sidebar_login_form : Runs before login drop down is displayed
login_form : Runs after login form is displayed.
wplms_be_instructor_button : Runs on the member index page for become and isntructor link
bp_before_course_stats : Runs before course stats are displayed in Course - admin - stats
wplms_before_notes_discussion : Runs before notes and discussion template shows content.
wplms_course_sidebar_hook : Runs in Course search page
bp_before_course_home_content : Runs on single course page before course description
bp_course_options_nav : Hook for course navigation in single course.
bp_before_course_body : Runs before main content of any section is shown in single course.
wplms_load_templates : Runs after the templates have been loaded
badgeos_wplms_submit_course : Runs when course has been submitted, accepts Course ID as argument.
wplms_question_after_content : Runs after question content is displayed for single question
wplms_before_quiz : Runs before header of single quiz
wplms_front_end_quiz_controls : Runs after quiz content. Used to display front end controls.
wplms_before_every_unit : Runs before every unit content, accepts unit ID as argument
wplms_after_every_unit : Runs after every unit content, accepts unit ID as argument
wplms_before_single_assignment : Runs before single assignment header is loaded.
wplms_assignment_before_content : Runs before assignment content is loaded
wplms_assignment_after_content : Runs after assignment content is loaded
wplms_after_assignment : Runs at the end of the assignment.
wplms_before_start_course : Runs at the begining of start course page before header. Usually used for access check.
wplms_start_course : Runs at the beginging of start course page after header.
wplms_unit_header : Runs at display unit header, Unit ID and Course ID as arguments.
wplms_course_unit_meta : Runs after unit header. Unit ID as argument. Displays unit meta information like tags and instructors.
wplms_course_start_after_time : Runs after Course time is displayed.
wplms_course_start_after_timeline : Runs after Course timeline is displayed
VibeCourse Module :
wplms_course_product_puchased : Runs after Course product is purchased, Arguments : Course ID, USer ID, Expirty Time, Course Status(0)badgeos_wplms_start_course : Runs when the current user subscribes the coruse. Arguments : Course ID
badgeos_wplms_unit_complete : Runs when current user finishes a unit. Arguments : UnitID, Course Progress % and Course ID
wplms_student_course_remove : Runs when a user is removed from the course. Arguments : Course ID, User ID
wplms_student_course_reset : Runs when course is reset for a user. Arguments : Course ID, USER ID
wplms_badge_earned : Runs when a user earns a badge. Arguments : Course ID, User Badges array,User ID, Badge Filter Flag (used for restricting badge assignment on special conditions).
wplms_certificate_earned : Runs when a user earns a Certificate. Arguments : Course ID, User certificates array,User ID, Certificate Filter Flag (used for restricting badge assignment on special conditions).
badgeos_wplms_evaluate_course : Runs when Course is evaluated. Arguments : Course ID, Marks, User ID
badgeos_wplms_evaluate_quiz : Runs when Quiz is evaluated. Arguments : Quiz ID, Marks, User ID
wplms_course_manual_evaluation : Runs when Course is manually evaluated. Arguments : Course ID, User ID
wplms_course_stats_process : Runs when user clicks on Process course stats. Accepts arguments passed by reference : Title of Stat, Stats array,Stats counter,Course ID,USER ID,Field name(example)
wplms_mod_stats_process : Runs when user clicks on Process stats for Quiz, unit,assiggment. Accepts arguments passed by reference : Title of Stat, Stats array,Stats counter,Module ID,USER ID,Field name,Post Type of module(example)
badgeos_wplms_submit_quiz : Runs when user submits a quiz. Arguments : Quiz ID
wplms_before_quiz_begining :Runs before uquiz is displayed. Arguments : Quiz ID
badgeos_wplms_start_quiz : Runs when user starts a quiz. Arguments : Quiz ID
wplms_renew_course : Runs when User clicks on course retake. Arguments : Course ID , USer ID
courses_setup_nav : Sets up Course navigation in members profile page
bp_course_screen_my_courses : Runs on My Courses in profile
bp_course_screen_my_results : Runs on My Results in profile
bp_course_screen_course_stats : Runs on My stats in profile
bp_course_instructing_courses : Runs on Instructing courses in profile
No comments