LLMS_Student_Dashboard::output_orders_content()

Endpoint to output orders content


Return Return

(void)


Top ↑

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 );


Top ↑

Changelog 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.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.