Functions

Work In Progress
This document is not ready to be used yet.

__construct()
Usage:

addons_page()
Usage:

admin_footer_text( $footer_text )
Usage:

check_if_current_users_post()
Usage:

enable_disable_addons()
Usage:

erase_tutor_data()
Usage:

filter_posts_for_instructors()
Usage:

parent_menu_active( $parent_file )
Usage:

plugin_action_links($actions)
Usage:

plugin_row_meta($plugin_meta, $plugin_file)
Usage:

posts_clauses_request($clauses)
Usage:

question_answer()
Usage:

quiz_attempts()
Usage:

register_course_widget()
Usage:

register_menu()
Usage:

submenu_file_active($submenu_file, $parent_file)
Usage:

sync_video_playback()
Usage:

sync_video_playback_noprev()
Usage:

tutor_add_answer()
Usage:

tutor_addons_lists_to_show()
Usage:

tutor_ask_question()
Usage:

tutor_get_pro()
Usage:

tutor_instructors()
Usage:

tutor_page()
Usage:

tutor_place_rating()
Usage:

tutor_students()
Usage:

tutor_tools()
Usage:

withdraw_requests()
Usage:

tutor_add_mce_button()
Usage:

tutor_add_tinymce_js( $plugin_array )
Usage:

tutor_register_mce_button( $buttons )
Usage:

tutor_generator_tag( $gen, $type )
Usage:

tutor_lms_hide_course_complete_btn($html)
Usage:

Private Functions

tutor_language_load()
Usage: load the translation files.

tutor()
Usage: Generic function.

tutor_utils() 
Usage: Utility function. Can be used to access various data such as students and instructors.

tutils()
Usage:

tutor_lms()
Usage:

Public Functions

add_column($columns)
Usage:

add_course_level_to_settings()
Usage:

addon_enable_disable()
Usage:

admin_scripts()
Usage:

announcements_metabox($echo = true)
Usage:

attach_product_with_course($post_ID, $postData)
Usage:

course_additional_data_meta_box($echo = true)
Usage:

course_elements_enable_disable()
Usage:

course_level_metabox($echo = true)
Usage:

course_meta_box($echo = true)
Usage:

custom_lesson_column($column, $post_id )
Usage:

detach_instructor_from_course()
Usage:

display()
Usage:

enable_disable_course_benefits($html)
Usage:

enable_disable_course_content($html)
Usage:

enable_disable_course_nav_items($items)
Usage:

enable_disable_course_progress_bar($html)
Usage:

enable_disable_course_requirements($html)
Usage:

enable_disable_course_target_audience($html)
Usage:

enable_disable_material_includes($html)
Usage:

enroll_now()
Usage:

field_type($field = array())
Usage:

filter_archive_meta_query($wp_query)
Usage:

filter_edd_downloads_query($query)
Usage:

filter_product_in_shop_page()
Usage:

filter_woocommerce_product_query($wp_query)
Usage:

frontend_scripts()
Usage:

generate_field($fields = array())
Usage:

get($key = null, $default = false)
Usage:

get_default_args()
Usage:

get_generate_greadbook($html)
Usage:

instructors_metabox($echo = true)
Usage:

mark_course_complete()
Usage:

process_ajax_login()
Usage:

register_meta_box()
Usage:

register_meta_box_in_frontend()
Usage:

remove_price_if_enrolled($html)
Usage:

save_course($post_ID, $post)
Usage:

should_tutor_load_template($bool, $template)
Usage:

social_share_content()
Usage:

tutor_add_course_topic()
Usage:

tutor_add_gutenberg_author($data , $postarr)
Usage:

tutor_add_instructors_to_course()
Usage:

tutor_course_add_to_wishlist()
Usage:

tutor_delete_announcement()
Usage:

tutor_delete_dashboard_course()
Usage:

tutor_delete_topic()
Usage:

tutor_lesson_load_before()
Usage:

tutor_load_edit_review_modal()
Usage:

tutor_load_instructors_modal()
Usage:

tutor_load_template_after()
Usage:

tutor_load_template_before($template, $variables)
Usage:

tutor_product_meta_query()
Usage:

tutor_update_review_modal()
Usage:

tutor_update_topic()
Usage:

video_metabox($echo = true)
Usage:

Static Functions

scan_template_files( $template_path = null )
Usage:

template_overridden_files()
Usage:

get_environment_info()
Usage:

Was this helpful?