um_stripe_checkout_sessions_create_args

Filter array before checkout sessions creation

Since 1.0.0
apply_filters( 'um_stripe_checkout_sessions_create_args', $args, $mode, $umm_subscription_id, $umm_price_id, $user_id, $customer_id )

Parameters

$args array
Stripe Checkout Sessions configurations.
$mode string
Subsription Mode.
$umm_subscription_id integer
Subscription ID.
$umm_price_id integer
Stripe Price.
$user_id integer
WP User ID.
$customer_id integer
Stripe Customer ID.

Sample Usage

add_filter( 'um_stripe_checkout_sessions_create_args', 'um_04172024_stripe_checkout_sessions_create_args', 10, 6 );
function um_04172024_stripe_checkout_sessions_create_args( $args, $mode, $umm_subscription_id, $umm_price_id, $user_id, $customer_id ){
  return $args;
}