Browse: Home / Classes / Learndash_WooCommerce /

Learndash_WooCommerce::update_subscription_meta

Learndash_WooCommerce::update_subscription_meta( int $subscription_id )

Handler when an subscription is updated, hooked to woocommerce_process_shop_subscription_meta


Description #

This method is used to handle course access update in some scenarios such as:

  1. Order’s customer change

Parameters #

$subscription_id

(int) (Required) ID of the subscription.


Return #

(void)


Source #

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