is_llms_account_page()

Determine if the LifterLMS Student Dashboard (account page) is being displayed.


Return Return

(boolean)


Top ↑

Source Source

File: includes/functions/llms-functions-conditional-tags.php

	function is_llms_account_page() {

		/**
		 * Override the default return of `is_llms_account_page()`
		 *
		 * @since Unknown
		 *
		 * @param bool $override Default override value (false).
		 */
		return ( is_page( llms_get_page_id( 'myaccount' ) ) || apply_filters( 'lifterlms_is_account_page', false ) );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.37.0 Remove ternary condition.
1.4.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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