lifterlms_template_pricing_table( $post_id = null )
Description Description
Source Source
File: includes/functions/llms.functions.templates.pricing.table.php
function lifterlms_template_pricing_table( $post_id = null ) { $post_id = $post_id ? $post_id : get_the_ID(); $product = new LLMS_Product( $post_id ); $is_enrolled = llms_is_user_enrolled( get_current_user_id(), $product->get( 'id' ) ); $purchaseable = $product->is_purchasable(); $has_free = $product->has_free_access_plan(); llms_get_template( 'product/pricing-table.php', compact( 'product', 'is_enrolled', 'purchaseable', 'has_free' ) ); }
Expand full source code Collapse full source code View on GitHub
User Contributed Notes User Contributed Notes
Permalink: