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.


Top ↑

Return Return

(int) The WP_Post ID of the page or -1 if the page is not found.


Top ↑

Source Source

File: includes/functions/llms.functions.page.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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