Browse: Home / Classes / Learndash_Product_Model /

Learndash_Product_Model::get_pricing

Learndash_Product_Model::get_pricing( WP_User|null $user = null )

Returns a pricing DTO.


Description #


Parameters #

$user

(WP_User|null) (Optional) If the special pricing for a user is needed.

Default value: null


Return #

(Learndash_Pricing_DTO)


Source #

File: includes/models/class-learndash-product-model.php


Changelog #

Changelog
Version Description
4.5.0 Introduced.