shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Hooks

No Data

ir_filter_default_instructor_menu_path

Filter
Allow third party plugins to update default instructor menu.

instructor-role/libs/admin_theme/everest-admin-theme.php: 616

instructor-role/modules/classes/class-instructor-role-review.php: 841

instructor-role/modules/classes/class-instructor-role-review.php: 851

No Data

array$author_data: Instructor user data.

ir_action_profile_header_start

Action
Instructor Profile Header Startarray $author_data Instructor user data.

instructor-role/modules/templates/profile/ir-instructor-profile.template.php: 41

array$author_data: Instructor user data.

array$author_data: Instructor user data.

ir_action_profile_header_end

Action
Instructor Profile Header Endarray $author_data Instructor user data.

instructor-role/modules/templates/profile/ir-instructor-profile.template.php: 71

array$author_data: Instructor user data.

array$author_data: Instructor user data.

ir_action_profile_content_start

Action
Instructor Profile Content Startarray $author_data Instructor user data.

instructor-role/modules/templates/profile/ir-instructor-profile.template.php: 82

array$author_data: Instructor user data.

array$author_data: Instructor user data.

ir_action_profile_content_end

Action
Instructor Profile Content Endarray $author_data Instructor user data.

instructor-role/modules/templates/profile/ir-instructor-profile.template.php: 227

array$author_data: Instructor user data.

array$status_codes: List of possible payout batch status codes.

ir_filter_paypal_payout_status_codes

Filter
Filter payout status codes listFilter paypal payout batch status codes to add or update codes or messagesarray $status_codes List of possible payout batch status codes.

instructor-role/modules/classes/class-instructor-role-payouts.php: 145

array$status_codes: List of possible payout batch status codes.

array: Array of supported paypal payout currencies with code.

ir_filter_paypal_payout_currencies

Filter
Filter list of paypal payout currencies used for configuring payoutsarray Array of supported paypal payout currencies with code.

instructor-role/modules/classes/class-instructor-role-payouts.php: 271

array: Array of supported paypal payout currencies with code.

No Data

ir_action_before_create_payout_transaction

Action
Action before creating paypal payout transaction

instructor-role/modules/classes/class-instructor-role-payouts.php: 499

No Data
No Data

ir_action_after_create_payout_transaction

Action
Action after creating paypal payout transaction

instructor-role/modules/classes/class-instructor-role-payouts.php: 529

No Data
No Data

wdm_commission_amount_paid

Action
Action after commission amount paid to instructor- Fired for both live and sandbox transactionscurrent transaction

instructor-role/modules/classes/class-instructor-role-payouts.php: 567

No Data
No Data

ir_filter_payout_email_subject

Filter
Filter instructor payout email subject

instructor-role/modules/classes/class-instructor-role-payouts.php: 641

No Data
No Data

ir_filter_payout_request_body

Filter
Filter paypal payout request body before the transaction

instructor-role/modules/classes/class-instructor-role-payouts.php: 674

No Data
No Data

ir_filter_check_paypal_configuration

Filter
Filter paypal configuration check.

instructor-role/modules/classes/class-instructor-role-payouts.php: 756

No Data

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

ir_action_after_successful_payout

Action
Fires after a successful commission payoutint $instructor_id User ID of the instructor.string $batch_id Unique batch ID of the payout transaction.

instructor-role/modules/classes/class-instructor-role-payouts.php: 949

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

ir_action_after_pending_unclaimed_payout

Action
Fires after a pending or unclaimed commission payoutint $instructor_id User ID of the instructor.string $batch_id Unique batch ID of the payout transaction.

instructor-role/modules/classes/class-instructor-role-payouts.php: 985

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

ir_action_after_failed_blocked_payout

Action
Fires after a failed or blocked commission payoutint $instructor_id User ID of the instructor.string $batch_id Unique batch ID of the payout transaction.

instructor-role/modules/classes/class-instructor-role-payouts.php: 1010

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

ir_action_after_revert_refund_reverse_payout

Action
Fires after a successful reverting, refunding or reversing a commission payoutint $instructor_id User ID of the instructor.string $batch_id Unique batch ID of the payout transaction.

instructor-role/modules/classes/class-instructor-role-payouts.php: 1038

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

ir_action_after_other_payout

Action
Fires for any other status for a commission payoutint $instructor_id User ID of the instructor.string $batch_id Unique batch ID of the payout transaction.

instructor-role/modules/classes/class-instructor-role-payouts.php: 1051

int: $instructor_id User ID of the instructor.

string$batch_id: Unique batch ID of the payout transaction.

No Data

ir_overview_submissions

Filter
Allow 3rd party plugins to filter through the submissions array.

instructor-role/modules/classes/class-instructor-role-overview.php: 481

No Data

string$current_tab: Current selected instructor settings tab tab

instuctor_tab_add

Action
Hook to add instructor setting tab headers.Used to add additional instructor setting tab header for adding new settings tabs.string $current_tab Current selected instructor settings tab tab

instructor-role/modules/classes/class-instructor-role-settings.php: 139

string$current_tab: Current selected instructor settings tab tab

array$settings_tabs: List of setting tabs to be displayed.

string$current_tab: Slug of the currently selected tab.

ir_filter_instructor_setting_tabs

Filter
Filter the instructor settings tabs to be displayedarray $settings_tabs List of setting tabs to be displayed.string $current_tab Slug of the currently selected tab.

instructor-role/modules/classes/class-instructor-role-settings.php: 229

array$settings_tabs: List of setting tabs to be displayed.

string$current_tab: Slug of the currently selected tab.

array$tabs: The tabs to currently be displayed

bool: $wl8_show_com_n_ex Whether commission settings are enabled or not.

ir_filter_commission_and_export_tabs

Filter
Filter the commission and export tabs displayarray $tabs The tabs to currently be displayedbool $wl8_show_com_n_ex Whether commission settings are enabled or not.

instructor-role/modules/classes/class-instructor-role-settings.php: 293

array$tabs: The tabs to currently be displayed

bool: $wl8_show_com_n_ex Whether commission settings are enabled or not.

string$current_tab: Current selected instructor settings tab.

instuctor_tab_checking

Action
Display instructor content based on currently selected tabstring $current_tab Current selected instructor settings tab.

instructor-role/modules/classes/class-instructor-role-settings.php: 365

string$current_tab: Current selected instructor settings tab.

int$instructor_id: User ID of the instructor.

ir_action_commission_report_end

Action
After Instructor Commission Report EndRun after the instructor comission report is displayed.int $instructor_id User ID of the instructor.

instructor-role/modules/classes/class-instructor-role-settings.php: 1367

int$instructor_id: User ID of the instructor.

No Data

ir_filter_instructor_course_sharing_caps

Filter
Allow 3rd party extensions to update instructor caps for shared courses.

instructor-role/modules/classes/class-instructor-role-multiple-instructors.php: 214

No Data
No Data

ir_filter_get_course_submission_ids

Filter
Filter the course submissions returned

instructor-role/modules/classes/class-instructor-role-comments.php: 401

No Data

string$notice_type: Type of notice message defaults to 'success'

object$post: WP_Post object

ir_filter_review_notice_type

Filter
Filter review notice message typestring $notice_type Type of notice message defaults to 'success'object $post WP_Post object

instructor-role/modules/classes/class-instructor-role-review.php: 795

string$notice_type: Type of notice message defaults to 'success'

object$post: WP_Post object

string$notice_message: Notice message to be displayed on review

object$post: WP_Post object

ir_filter_review_notice_message

Filter
Filter review notice messagestring $notice_message Notice message to be displayed on reviewobject $post WP_Post object

instructor-role/modules/classes/class-instructor-role-review.php: 805

string$notice_message: Notice message to be displayed on review

object$post: WP_Post object

mixed: $supported_post_types List of supported review post types

int: $post_id ID of the post to be reviewed

object: $post WP_Post object of the post to be reviewed

int: $user_id ID of the current user

ir_filter_review_post_types

Filter
Filter list supported post types for review. Currently only supports courses and products.mixed $supported_post_types List of supported review post typesint $post_id ID of the post to be reviewedobject $post WP_Post object of the post to be reviewedint $user_id ID of the current user

instructor-role/modules/classes/class-instructor-role-review.php: 914

mixed: $supported_post_types List of supported review post types

int: $post_id ID of the post to be reviewed

object: $post WP_Post object of the post to be reviewed

int: $user_id ID of the current user

bool: $is_updated True if post ready for review, else false.

int: $post_id ID of the post to be reviewed

object: $post WP_Post object of the post to be reviewed

ir_filter_is_post_updated_for_review

Filter
Filter is post updated for reviewbool $is_updated True if post ready for review, else false.int $post_id ID of the post to be reviewedobject $post WP_Post object of the post to be reviewed

instructor-role/modules/classes/class-instructor-role-review.php: 935

bool: $is_updated True if post ready for review, else false.

int: $post_id ID of the post to be reviewed

object: $post WP_Post object of the post to be reviewed

string$course_review_message: The review message displayed to the instructor when course is sent for review.

ir_filter_review_message

Filter
Filter the course review message displayed to instructorsstring $course_review_message The review message displayed to the instructor when course is sent for review.

instructor-role/modules/classes/class-instructor-role-review.php: 971

string$course_review_message: The review message displayed to the instructor when course is sent for review.

string$review_message_type: Can be either one of 'success', 'warning', 'error' or 'info'

ir_filter_review_message_type

Filter
Filter the review message notice type.string $review_message_type Can be either one of 'success', 'warning', 'error' or 'info'

instructor-role/modules/classes/class-instructor-role-review.php: 987

string$review_message_type: Can be either one of 'success', 'warning', 'error' or 'info'

No Data

wdmir_product_types

Filter
added in version 1.3filter name: wdmir_product_typesparam: array of product types

instructor-role/modules/classes/class-instructor-role-woocommerce.php: 70

No Data

strint$invalid_data_warning_msg: Warning message for invalid introduction sections error.

ir_filter_intro_section_warning_msg

Filter
Filter Introduction settings warning messagestrint $invalid_data_warning_msg Warning message for invalid introduction sections error.

instructor-role/modules/classes/class-instructor-role-profile.php: 205

strint$invalid_data_warning_msg: Warning message for invalid introduction sections error.

No Data

ir_filter_default_intro_setting_options

Filter
Filter the default introduction settings for the instructor profile

instructor-role/modules/classes/class-instructor-role-profile.php: 287

No Data
No Data

ir_filter_fetch_introduction_settings_data

Filter
Filter fetch introduction settings data

instructor-role/modules/classes/class-instructor-role-profile.php: 359

No Data
No Data

ir_filter_add_section_html

Filter
Filter the add section demo HTML

instructor-role/modules/classes/class-instructor-role-profile.php: 394

No Data
No Data

ir_filter_warning_section_html

Filter
Filter the add section demo HTML

instructor-role/modules/classes/class-instructor-role-profile.php: 412

No Data
No Data

ir_filter_is_valid_section_data

Filter
Filter section data validation

instructor-role/modules/classes/class-instructor-role-profile.php: 519

No Data

array$course_statistics: Array of instructor course statistics.

int: $user_id User ID of the instructor.

ir_filter_profile_course_statistics

Filter
Filter the instructor profile course statisticsarray $course_statistics Array of instructor course statistics.int $user_id User ID of the instructor.

instructor-role/modules/classes/class-instructor-role-profile.php: 711

array$course_statistics: Array of instructor course statistics.

int: $user_id User ID of the instructor.

string$input_html: HTML of the input box

string$data_type: Data type of the display section. Either list or paragraph by default.

string$meta_key: Meta key for the input saved in the database and used as input name.

ir_filter_display_section_input

Filter
Filter the display section input box htmlstring $input_html HTML of the input boxstring $data_type Data type of the display section. Either list or paragraph by default.string $meta_key Meta key for the input saved in the database and used as input name.

instructor-role/modules/classes/class-instructor-role-profile.php: 764

string$input_html: HTML of the input box

string$data_type: Data type of the display section. Either list or paragraph by default.

string$meta_key: Meta key for the input saved in the database and used as input name.

mixed$section_value: Section value to be saved.

int: $user_id User ID of the instructor.

array$section_details: Details of the section.

ir_filter_save_introduction_section_value

Filter
Filter introduction section value before it is saved in user metamixed $section_value Section value to be saved.int $user_id User ID of the instructor.array $section_details Details of the section.

instructor-role/modules/classes/class-instructor-role-profile.php: 802

mixed$section_value: Section value to be saved.

int: $user_id User ID of the instructor.

array$section_details: Details of the section.

int: $user_id ID of the user.

array$section_settings: Settings of the section being rendered.

ir_action_display_instructor_sections

Action
Allow 3rd party plugins to display sections for custom data types.int $user_id ID of the user.array $section_settings Settings of the section being rendered.

instructor-role/modules/classes/class-instructor-role-profile.php: 874

int: $user_id ID of the user.

array$section_settings: Settings of the section being rendered.

string$upload_link: Essay upload link HTML output.

Filter
Filters quiz essay upload link HTML output.string $upload_link Essay upload link HTML output.

instructor-role/modules/classes/class-instructor-role-learndash-handler.php: 201

string$upload_link: Essay upload link HTML output.

string$redirect_url: Redirect URL.

learndash_essay_permissions_redirect_url

Filter
Filters the URL to redirect a user if it does not have permission to view the essay.string $redirect_url Redirect URL.

instructor-role/modules/classes/class-instructor-role-learndash-handler.php: 216

string$redirect_url: Redirect URL.

string$redirect_url: Redirect URL.

learndash_assignment_permissions_redirect_url

Filter
Filters Assignment permission redirect URL.string $redirect_url Redirect URL.

instructor-role/modules/classes/class-instructor-role-learndash-handler.php: 254

string$redirect_url: Redirect URL.

No Data

ir_filter_course_report_template_path

Filter
Filter report template path for others to extend

instructor-role/modules/classes/class-instructor-role-reports.php: 108

No Data
No Data

ir_filter_course_reports_main_template_path

Filter
Filter course reports main path for others to extend

instructor-role/modules/classes/class-instructor-role-reports.php: 207

No Data
No Data

ir_filter_csv_field_titles

Filter
Allow 3rd party plugins to update CSV report header titles.

instructor-role/modules/classes/class-instructor-role-reports.php: 718

No Data

array$course_progress_data: Generated CSV export data.

int$course_id: ID of the course.

ir_filter_generate_csv_export_data

Filter
Filter generated CSV report dataarray $course_progress_data Generated CSV export data.int $course_id ID of the course.

instructor-role/modules/classes/class-instructor-role-reports.php: 839

array$course_progress_data: Generated CSV export data.

int$course_id: ID of the course.

No Data

ir_filter_instructor_capabilities

Filter
Allow filtering instructor role capabilitiesNote: You will need to re-activate the plugin for the changes to take effect.

instructor-role/modules/classes/class-instructor-role-admin.php: 487

instructor-role/includes/class-instructor-role-activator.php: 130

No Data
No Data

ir_filter_dashboard_wp_panels

Filter
Filter WP gutenberg panels to be removed.

instructor-role/modules/classes/class-instructor-role-admin.php: 1373

No Data

bool$is_instructor: True if current user is instructor, false otherwise.

wdm_check_instructor

Filter
Filter check for instructorsbool $is_instructor True if current user is instructor, false otherwise.

instructor-role/includes/instructor-role-functions.php: 53

bool$is_instructor: True if current user is instructor, false otherwise.

array$wdm_args: Array of arguments.

wdm_author_args

Filter
Filter author argumentsarray $wdm_args Array of arguments.

instructor-role/includes/instructor-role-functions.php: 118

array$wdm_args: Array of arguments.

array: $args Template arguments for the current template.

string$template_path: Path of the current template.

ir_filter_template_args

Filter
Allow 3rd party plugins to filter template argumentsarray $args Template arguments for the current template.string $template_path Path of the current template.

instructor-role/includes/instructor-role-functions.php: 895

array: $args Template arguments for the current template.

string$template_path: Path of the current template.

string$template_path: Path for the current template.

array: $args Template arguments for current template.

ir_filter_template_path

Filter
Allow 3rd party plugins to filter template path.string $template_path Path for the current template.array $args Template arguments for current template.

instructor-role/includes/instructor-role-functions.php: 910

string$template_path: Path for the current template.

array: $args Template arguments for current template.

array: $args Template arguments for current template.

string: $template_path Path for the current template.

ir_action_before_template

Action
Allow 3rd party plugins to perform actions before a template is rendered.array $args Template arguments for current template.string $template_path Path for the current template.

instructor-role/includes/instructor-role-functions.php: 925

array: $args Template arguments for current template.

string: $template_path Path for the current template.

array: $args Template arguments for current template.

string: $template_path Path for the current template.

ir_action_after_template

Action
Allow 3rd party plugins to perform actions after a template is rendered.array $args Template arguments for current template.string $template_path Path for the current template.

instructor-role/includes/instructor-role-functions.php: 937

array: $args Template arguments for current template.

string: $template_path Path for the current template.

string$contents: HTML contents for the rendered template.

array: $args Template arguments for the current template.

ir_filter_get_template_contents

Filter
Allow 3rd party plugins to filter returned contents.string $contents HTML contents for the rendered template.array $args Template arguments for the current template.

instructor-role/includes/instructor-role-functions.php: 951

string$contents: HTML contents for the rendered template.

array: $args Template arguments for the current template.

string$site_timezone: Site timezone

ir_filter_date_in_site_timezone_timezone

Filter
Filter the timezone for the returned datestring $site_timezone Site timezone

instructor-role/includes/instructor-role-functions.php: 975

string$site_timezone: Site timezone

string$format: Valid PHP datetime format.

string$timestamp: Unix timestamp of the date.

ir_filter_date_in_site_timezone_format

Filter
Filter the datetime format for the returned datestring $format Valid PHP datetime format.string $timestamp Unix timestamp of the date.

instructor-role/includes/instructor-role-functions.php: 1000

string$format: Valid PHP datetime format.

string$timestamp: Unix timestamp of the date.

string$converted_date_string: Converted date string to be returned.

object$date: DateTime object of the returned date.

ir_filter_date_in_site_timezone

Filter
Filter the date string to be returned.string $converted_date_string Converted date string to be returned.object $date DateTime object of the returned date.

instructor-role/includes/instructor-role-functions.php: 1015

string$converted_date_string: Converted date string to be returned.

object$date: DateTime object of the returned date.

Updated on March 18, 2021
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Was this article helpful?

shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Related Articles