Hook | Description | Parameters |
bridge_woo_course_product_created | Use this hook to execute custom code when a new product is created during synchronization from the settings page. | $wp_product_id: WooCommerce Product Id generated for a course $wp_course_id : Id of Moodle™ course created on WordPress $course_data: Course data coming from Moodle API $sync_options: Synchronization option selected by website admin |
bridge_woo_course_product_updated | Use this hook to execute custom code when a new product is updated during synchronization from the settings page. | $wp_course_id : Id of Moodle course created on WordPress $course_data: Course data coming from Moodle API $sync_options: Synchronization option selected by website admin |
bridge_woo_email_allowed_order_status | Use this hook to include information of courses associated with a product selectively in order status emails. | array: This contains order status such as, ‘wc-processing’,’wc-completed’,’wc-on-hold’ |