llms_get_page_id( string $page )
Retrieve the WordPress Page ID of a LifterLMS Core Page
Description Description
Available core pages are:
- checkout (formerly "shop")
- courses (Course catalog)
- myaccount (Student Dashboard)
- memberships (Membership catalog)
Parameters Parameters
- $page
-
(Required) The page slug/name.
Return Return
(int) The WP_Post ID of the page or -1 if the page is not found.
Source Source
File: includes/functions/llms.functions.page.php
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |