LLMS_Student_Dashboard::output_orders_content()
Endpoint to output orders content
Return Return
(void)
Source Source
File: includes/class.llms.student.dashboard.php
public static function output_edit_account_content() { llms_get_template( 'myaccount/form-edit-account.php', array( 'user' => get_user_by( 'id', get_current_user_id() ), ) ); } /** * Endpoint to output orders content * * @since 3.0.0 * @since 3.8.0 Unknown. * @since 6.0.0 Use `llms_template_view_order()` in favor of including the template file directly. * * @return void */ public static function output_orders_content() { global $wp; $args = array(); if ( ! empty( $wp->query_vars['orders'] ) ) { $order = llms_get_post( $wp->query_vars['orders'] ); llms_template_view_order( $order );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Use llms_template_view_order() in favor of including the template file directly. |
3.8.0 | Unknown. |
3.0.0 | Introduced. |