Browse: Home / Classes / Learndash_WooCommerce /

Learndash_WooCommerce::update_course_access_from_with_order_data

Learndash_WooCommerce::update_course_access_from_with_order_data( int $course_id,  int $user_id,  int $order_id )

Update course access from value with order data.


Description #


Parameters #

$course_id

(int) (Required) LearnDash course ID.

$user_id

(int) (Required) WordPress user ID.

$order_id

(int) (Required) WooCommerce user ID.


Return #

(bool) True if successful, false otherwise.


Source #

File: includes/woocommerce/includes/class-learndash-woocommerce.php


Changelog #

Changelog
Version Description
5.2.0 Introduced.