Browse: Home / Functions /

learndash_transaction_create

learndash_transaction_create( array $meta_fields,  WP_Post $post,  WP_User $user )

Creates a transaction.


Description #


Parameters #

$meta_fields

(array) (Required) Meta fields.

$post

(WP_Post) (Required) Post.

$user

(WP_User) (Required) User.


Return #

(void)


Source #

File: includes/payments/ld-transaction-functions.php


Changelog #

Changelog
Version Description
4.2.0 Introduced.